hive-dev mailing list archives

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

             Summary: 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
            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