Jesus Camacho Rodriguez created HIVE-22549:
----------------------------------------------

             Summary: RS deduplication should not merge final aggregation 
without keys
                 Key: HIVE-22549
                 URL: https://issues.apache.org/jira/browse/HIVE-22549
             Project: Hive
          Issue Type: Bug
          Components: Physical Optimizer
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


This may lead to performance degradation. For instance, this can happen for the 
following query:

{code}
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;

EXPLAIN
CREATE TABLE x STORED AS ORC TBLPROPERTIES('transactional'='true') AS
SELECT * FROM SRC x CLUSTER BY x.key;
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to