hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-17383) ArrayIndexOutOfBoundsException in VectorGroupByOperator
Date Thu, 24 Aug 2017 11:30:00 GMT
Rui Li created HIVE-17383:
-----------------------------

             Summary: ArrayIndexOutOfBoundsException in VectorGroupByOperator
                 Key: HIVE-17383
                 URL: https://issues.apache.org/jira/browse/HIVE-17383
             Project: Hive
          Issue Type: Bug
            Reporter: Rui Li


Query to reproduce:
{noformat}
set hive.cbo.enable=false;
select count(*) from (select key from src group by key) s where s.key='98';
{noformat}
The stack trace is:
{noformat}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
	at org.apache.hadoop.hive.ql.exec.vector.VectorGroupKeyHelper.copyGroupKey(VectorGroupKeyHelper.java:107)
	at org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator$ProcessingModeReduceMergePartial.doProcessBatch(VectorGroupByOperator.java:831)
	at org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator$ProcessingModeBase.processBatch(VectorGroupByOperator.java:174)
	at org.apache.hadoop.hive.ql.exec.vector.VectorGroupByOperator.process(VectorGroupByOperator.java:1046)
	at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordSource.processVectorGroup(ReduceRecordSource.java:462)
	... 18 more
{noformat}
More details can be found in HIVE-16823



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message