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

Lefty Leverenz commented on HIVE-12332:
---------------------------------------

Erratum:  The commit gives the wrong JIRA issue number but the right summary 
text – "HIVE-12232 : BucketingSortingReduceSinkOptimizer throws IOB exception 
for duplicate columns".

It's commit 1efb92a8e5ba5aa662fc26a8bcaa5c972c18f7c6.

[~ashutoshc], please update the errata.txt file (see HIVE-11704).

> 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
>            Assignee: Ashutosh Chauhan
>             Fix For: 2.0.0
>
>         Attachments: HIVE-12332.patch, HIVE-12332.patch
>
>
> {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)

Reply via email to