Vineet Garg created HIVE-21007:
----------------------------------

             Summary: 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
         Attachments: HIVE-21007.1.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)

Reply via email to