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)