hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12332) BucketingSortingReduceSinkOptimizer throws IOB exception for duplicate columns
Date Wed, 04 Nov 2015 04:39:27 GMT

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

Ashutosh Chauhan commented on HIVE-12332:
-----------------------------------------

Stack trace:
{code}
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at org.apache.hadoop.hive.ql.optimizer.BucketingSortingReduceSinkOptimizer$BucketSortReduceSinkProcessor.process(BucketingSortingReduceSinkOptimizer.java:591)
        at org.apache.hadoop.hive.ql.lib.DefaultRuleDispatcher.dispatch(DefaultRuleDispatcher.java:90)
        at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatchAndReturn(DefaultGraphWalker.java:105)
        at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatch(DefaultGraphWalker.java:89)
        at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.walk(DefaultGraphWalker.java:158)
        at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.startWalking(DefaultGraphWalker.java:120)
        at org.apache.hadoop.hive.ql.optimizer.BucketingSortingReduceSinkOptimizer.transform(BucketingSortingReduceSinkOptimizer.java:99)
        at org.apache.hadoop.hive.ql.optimizer.Optimizer.optimize(Optimizer.java:220)
{code}

> BucketingSortingReduceSinkOptimizer throws IOB exception for duplicate columns
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-12332
>                 URL: https://issues.apache.org/jira/browse/HIVE-12332
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 2.0.0
>            Reporter: Ashutosh Chauhan
>
> {code}
> set hive.enforce.bucketing=true;
> set hive.enforce.sorting=true;
> CREATE TABLE temp1
> (
>     change int ,
>     num int
> )
> CLUSTERED BY (num) SORTED BY (num) INTO 4 BUCKETS;
> create table temp2
> (  
>   num int
> );
> explain 
> INSERT OVERWRITE TABLE temp1
> SELECT  num,  num
> FROM temp2;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message