[ 
https://issues.apache.org/jira/browse/HIVE-14951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Haindrich updated HIVE-14951:
------------------------------------
    Attachment: HIVE-14951.1.patch

#1) the problem is that the groupby operator is trying to supply data for tag 
1...which is undefined...after further examination I ended up deciding to set 
the tag to 0 in the reducer if it doesn't need tagging - seems like groupBys 
doesn't need it...I'm not sure if this boolean was in use earlier...but its 
purpose seem to be related :)

All these tagging related things seem to be odd here and there....most of the 
usage of tag 0 is hard wired into some places...

> ArrayIndexOutOfBoundsException in GroupByOperator
> -------------------------------------------------
>
>                 Key: HIVE-14951
>                 URL: https://issues.apache.org/jira/browse/HIVE-14951
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zhiyuan Yang
>            Assignee: Zoltan Haindrich
>         Attachments: HIVE-14951.1.patch
>
>
> 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