[ https://issues.apache.org/jira/browse/HIVE-18875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493010#comment-16493010 ]
Gunther Hagleitner commented on HIVE-18875: ------------------------------------------- Thinking some more about the op traits. I think having "a, b" as bucketing cols, means that for every combination of a & b you get all the rows of that in the same processor. So if a select operator does not project all of them, the new bucketing cols should be empty, not a subset (with adjusted bucket number). The prefix logic seems correct for sort cols (sorted by "a, b" is also sorted by "a"). > Enable SMB Join by default in Tez > --------------------------------- > > Key: HIVE-18875 > URL: https://issues.apache.org/jira/browse/HIVE-18875 > Project: Hive > Issue Type: Task > Reporter: Deepak Jaiswal > Assignee: Deepak Jaiswal > Priority: Major > Attachments: HIVE-18875.1.patch, HIVE-18875.10.patch, > HIVE-18875.2.patch, HIVE-18875.3.patch, HIVE-18875.4.patch, > HIVE-18875.5.patch, HIVE-18875.6.patch, HIVE-18875.7.patch, > HIVE-18875.8.patch, HIVE-18875.9.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)