[ 
https://issues.apache.org/jira/browse/SPARK-22615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266745#comment-16266745
 ] 

Apache Spark commented on SPARK-22615:
--------------------------------------

User 'gengliangwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/19825

> 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
>
> Currently, in the optimize rule `PropagateEmptyRelation`, the following cases 
> is not handled:
> 1. right child is empty relation in left outer join
> 2. left child in right outer join
> 3. right child is empty relation in left semi join
> 4. right child is empty relation in left anti join 
> case #1 and #2 can be treated as cross join 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