Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Attached vectortest.q which fails with the below ClassCast Exception
Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.Decimal64ColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector
at org.apache.hadoop.hive.ql.exec.vector.expressions.gen.FilterDecimalColEqualDecimalScalar.evaluate(FilterDecimalColEqualDecimalScalar.java:64)
at org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.process(VectorFilterOperator.java:125)
at org.apache.hadoop.hive.ql.exec.Operator.vectorForward(Operator.java:919)
at org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanOperator.java:171)
at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.deliverVectorizedRowBatch(VectorMapOperator.java:809)
at org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:878)
This seems related to HIVE-26208 , which avoids Decimal64 to Decimal conversion for the vector expressions that explicitly handle decimal64 types. However, in this scenario exception comes from `FilterDecimalColEqualDecimalScalar`.