[ https://issues.apache.org/jira/browse/HIVE-13849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez updated HIVE-13849: ------------------------------------------- Attachment: HIVE-13849.01.patch > Wrong plan for hive.optimize.sort.dynamic.partition=true > -------------------------------------------------------- > > Key: HIVE-13849 > URL: https://issues.apache.org/jira/browse/HIVE-13849 > Project: Hive > Issue Type: Bug > Components: Physical Optimizer > Affects Versions: 2.1.0, 2.2.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Priority: Critical > Fix For: 2.1.0 > > Attachments: HIVE-13849.01.patch, HIVE-13849.patch > > > To reproduce: > {noformat} > set hive.support.concurrency=true; > set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; > set hive.exec.dynamic.partition.mode=nonstrict; > set hive.optimize.sort.dynamic.partition=true; > CREATE TABLE non_acid(key string, value string) PARTITIONED BY(ds string, hr > int) CLUSTERED BY(key) INTO 2 BUCKETS STORED AS ORC; > explain insert into table non_acid partition(ds,hr) select * from srcpart > sort by value; > {noformat} > CC'ed [~ashutoshc], [~ekoifman] -- This message was sent by Atlassian JIRA (v6.3.4#6332)