rakeshsayini opened a new issue #2601:
URL: https://github.com/apache/iceberg/issues/2601


   
   Added this property in beeline: hive.vectorized.execution.enabled=false
   
   The query  "select date_time,count(*) from db.<table> a group by date_time" 
is failing with below error. Same query works fine from spark.sql. If we select 
all columns it would work fine.
   
   **Error:**
   Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
           at org.apache.iceberg.data.GenericRecord.get(GenericRecord.java:114)
           at 
org.apache.iceberg.mr.hive.serde.objectinspector.IcebergRecordObjectInspector.getStructFieldData(IcebergRecordObjectInspector.java:75)
           at 
org.apache.hadoop.hive.ql.exec.ExprNodeColumnEvaluator._evaluate(ExprNodeColumnEvaluator.java:95)
           at 
org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator.evaluate(ExprNodeEvaluator.java:80)
           at 
org.apache.hadoop.hive.ql.exec.ExprNodeEvaluator.evaluate(ExprNodeEvaluator.java:68)
           at 
org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperator.java:88)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to