Vineet Garg created HIVE-20266:
----------------------------------

             Summary: Extra column is being shuffled in cbo as compared to 
non-cbo
                 Key: HIVE-20266
                 URL: https://issues.apache.org/jira/browse/HIVE-20266
             Project: Hive
          Issue Type: Improvement
          Components: Query Planning
            Reporter: Vineet Garg
            Assignee: Vineet Garg


{code:sql}
CREATE TABLE tablePartitioned (a STRING NOT NULL ENFORCED, b STRING, c STRING 
NOT NULL ENFORCED) PARTITIONED BY (p1 STRING, p2 INT NOT NULL DISABLE);
{code}

{code:sql}
explain INSERT INTO tablePartitioned partition(p1, p2) select key, value, 
value, key as p1, 3 as p2 from src limit 10;
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to