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

Xiao Li resolved SPARK-22615.
-----------------------------
       Resolution: Fixed
         Assignee: Gengliang Wang
    Fix Version/s: 2.3.0

> Handle more cases in PropagateEmptyRelation 
> --------------------------------------------
>
>                 Key: SPARK-22615
>                 URL: https://issues.apache.org/jira/browse/SPARK-22615
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>             Fix For: 2.3.0
>
>
> Currently, in the optimize rule `PropagateEmptyRelation`, the following cases 
> is not handled:
> 1. empty relation as right child in left outer join
> 2. empty relation as left child in right outer join
> 3. empty relation as right child in left semi join
> 4. empty relation as right child in left anti join
> case #1 and #2 can be treated as Cartesian product and cause exception.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to