You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/06/19 03:48:00 UTC

[jira] [Commented] (SPARK-36979) Add RewriteLateralSubquery rule into nonExcludableRules

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

Apache Spark commented on SPARK-36979:
--------------------------------------

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

> Add RewriteLateralSubquery rule into nonExcludableRules
> -------------------------------------------------------
>
>                 Key: SPARK-36979
>                 URL: https://issues.apache.org/jira/browse/SPARK-36979
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: XiDuo You
>            Assignee: XiDuo You
>            Priority: Minor
>             Fix For: 3.2.1
>
>
> Lateral Join has no meaning without rule `RewriteLateralSubquery`. So now if we set `spark.sql.optimizer.excludedRules=org.apache.spark.sql.catalyst.optimizer.RewriteLateralSubquery`, the lateral join query will fail with:
> {code:java}
> java.lang.AssertionError: assertion failed: No plan for LateralJoin lateral-subquery#218
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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