[ 
https://issues.apache.org/jira/browse/HIVE-14951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143679#comment-16143679
 ] 

Zoltan Haindrich commented on HIVE-14951:
-----------------------------------------

I think there are 2 issues here: there is one which affect the query plan 
printout - and gives misleading plan description ; by adding both Map's below 
the same groupby

the other is the issue which is because the second gby is not able to return 
the data for tag=1; I suspect that the purpose of the DUMMY_STORE operator 
would be to hide this tweak...however I don't see it during execution...

> ArrayIndexOutOfBoundsException in GroupByOperator
> -------------------------------------------------
>
>                 Key: HIVE-14951
>                 URL: https://issues.apache.org/jira/browse/HIVE-14951
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhiyuan Yang
>
> Engine: 
> Tez
> Query:
> select * from (select distinct a from f16) as f16, (select distinct a from 
> f1) as fprime where f16.a = fprime.a;
> Table: 
> create table f1 (a int, b string);
> create table f16 (a int, b string);
> Config:
> set hive.auto.convert.sortmerge.join=true;
> set hive.auto.convert.join=false;



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

Reply via email to