anubhav tarar created CARBONDATA-1473:
-----------------------------------------
Summary: Unable To use Greater than Operator on Date Type In Hive
Key: CARBONDATA-1473
URL:
https://issues.apache.org/jira/browse/CARBONDATA-1473 Project: CarbonData
Issue Type: Bug
Components: hive-integration
Affects Versions: 1.2.0
Environment: hive1.2.1.,spark 2.1
Reporter: anubhav tarar
Assignee: anubhav tarar
Priority: Trivial
Fix For: 1.2.0
HiveEmbeddedServer.execute("SELECT ID FROM ALLDATATYPETEST WHERE JOININGDATE > 2016-04-14")
org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 1
at org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:352)
at org.apache.hive.service.cli.operation.OperationManager.getOperationNextRowSet(OperationManager.java:220)
at org.apache.hive.service.cli.session.HiveSessionImpl.fetchResults(HiveSessionImpl.java:685)
at org.apache.hive.service.cli.CLIService.fetchResults(CLIService.java:454)
at org.apache.hive.service.cli.CLIService.fetchResults(CLIService.java:447)
at server.HiveEmbeddedServer$.execute(HiveEmbeddedServer.scala:150)
at org.apache.carbondata.hive.integrationtest.AllDataTypeTest$$anonfun$2.apply$mcV$sp(AllDataTypeTest.scala:50)
at org.apache.carbondata.hive.integrationtest.AllDataTypeTest$$anonfun$2.apply(AllDataTypeTest.scala:50)
at org.apache.carbondata.hive.integrationtest.AllDataTypeTest$$anonfun$2.apply(AllDataTypeTest.scala:50)
at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
...
Cause: java.io.IOException: java.lang.ArrayIndexOutOfBoundsException: 1
at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:154)
at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1670)
at org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:347)
at org.apache.hive.service.cli.operation.OperationManager.getOperationNextRowSet(OperationManager.java:220)
at org.apache.hive.service.cli.session.HiveSessionImpl.fetchResults(HiveSessionImpl.java:685)
at org.apache.hive.service.cli.CLIService.fetchResults(CLIService.java:454)
at org.apache.hive.service.cli.CLIService.fetchResults(CLIService.java:447)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)