hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-14951) ArrayIndexOutOfBoundsException in GroupByOperator
Date Tue, 29 Aug 2017 12:58:00 GMT

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

Zoltan Haindrich edited comment on HIVE-14951 at 8/29/17 12:57 PM:
-------------------------------------------------------------------

#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 time the usage
of tag 0 is hard wired into some places...


was (Author: kgyrtkirk):
#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)

Mime
View raw message