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

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

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

Gengliang Wang updated SPARK-22615:
-----------------------------------
    Description: 
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.

  was:
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 


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