[ https://issues.apache.org/jira/browse/HIVE-20703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681766#comment-16681766 ]
Vineet Garg commented on HIVE-20703: ------------------------------------ [~ychena] You are right this was moved for tez engine only and will not work for MR and spark anymore. Since MR is deprecated now I don't think it make sense to support this for it but if you think this is an issue with Hive on Spark and this optimization should be supported we can probably add this for spark. > Put dynamic sort partition optimization under cost based decision > ----------------------------------------------------------------- > > Key: HIVE-20703 > URL: https://issues.apache.org/jira/browse/HIVE-20703 > Project: Hive > Issue Type: Improvement > Components: Query Planning > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-20703.1.patch, HIVE-20703.10.patch, > HIVE-20703.11.patch, HIVE-20703.12.patch, HIVE-20703.2.patch, > HIVE-20703.3.patch, HIVE-20703.4.patch, HIVE-20703.5.patch, > HIVE-20703.6.patch, HIVE-20703.7.patch, HIVE-20703.8.patch, HIVE-20703.9.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)