[ https://issues.apache.org/jira/browse/HIVE-21007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710754#comment-16710754 ]
Vineet Garg commented on HIVE-21007: ------------------------------------ [~jcamachorodriguez] Review link is at https://reviews.apache.org/r/69515/ I still need to address check-style violations. > Semi join + Union can lead to wrong plans > ----------------------------------------- > > Key: HIVE-21007 > URL: https://issues.apache.org/jira/browse/HIVE-21007 > Project: Hive > Issue Type: Bug > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Attachments: HIVE-21007.1.patch, HIVE-21007.2.patch > > > Tez compiler has the ability to push JOIN within UNION (by replicating join > on each branch). If this JOIN had a SJ branch outgoing (or incoming) it could > mess up the plan and end up generating incorrect or wrong plan. > As a safe measure any SJ branch after UNION should be removed (until we > improve the logic to better handle SJ branches) -- This message was sent by Atlassian JIRA (v7.6.3#76005)