You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Panagiotis Garefalakis (Jira)" <ji...@apache.org> on 2021/05/14 12:05:00 UTC

[jira] [Created] (HIVE-25117) Vector PTF ClassCastException with Decimal64

Panagiotis Garefalakis created HIVE-25117:
---------------------------------------------

             Summary: Vector PTF ClassCastException with Decimal64
                 Key: HIVE-25117
                 URL: https://issues.apache.org/jira/browse/HIVE-25117
             Project: Hive
          Issue Type: Bug
            Reporter: Panagiotis Garefalakis


Only reproduces when there is at least 1 buffered batch, so needed 2 rows with 1 row/batch:

{code:java}
set hive.vectorized.testing.reducer.batch.size=1;
{code}

{code:java}
Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.DecimalColumnVector cannot be cast to org.apache.hadoop.hive.ql.exec.vector.LongColumnVector
	at org.apache.hadoop.hive.ql.exec.vector.VectorizedBatchUtil.copyNonSelectedColumnVector(VectorizedBatchUtil.java:664)
	at org.apache.hadoop.hive.ql.exec.vector.ptf.VectorPTFGroupBatches.forwardBufferedBatches(VectorPTFGroupBatches.java:228)
	at org.apache.hadoop.hive.ql.exec.vector.ptf.VectorPTFGroupBatches.fillGroupResultsAndForward(VectorPTFGroupBatches.java:318)
	at org.apache.hadoop.hive.ql.exec.vector.ptf.VectorPTFOperator.process(VectorPTFOperator.java:403)
	at org.apache.hadoop.hive.ql.exec.Operator.vectorForward(Operator.java:919)
	at org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.process(VectorSelectOperator.java:158)
	at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordSource.processVectorGroup(ReduceRecordSource.java:497)
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)