[ 
https://issues.apache.org/jira/browse/HIVE-21007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vineet Garg updated HIVE-21007:
-------------------------------
    Status: Open  (was: Patch Available)

> 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, 
> HIVE-21007.3.patch, HIVE-21007.4.patch, HIVE-21007.5.patch, 
> HIVE-21007.6.patch, HIVE-21007.7.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