You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rui Li (JIRA)" <ji...@apache.org> on 2017/08/24 11:30:00 UTC

[jira] [Created] (HIVE-17383) ArrayIndexOutOfBoundsException in VectorGroupByOperator

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)