You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/11/29 17:19:00 UTC

[jira] [Resolved] (SPARK-22615) Handle more cases in PropagateEmptyRelation

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org