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

Wenchen Fan resolved SPARK-53382.
---------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 52115
[https://github.com/apache/spark/pull/52115]

> Fix bug with eliminated self reference
> --------------------------------------
>
>                 Key: SPARK-53382
>                 URL: https://issues.apache.org/jira/browse/SPARK-53382
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Pavle Martinović
>            Assignee: Pavle Martinović
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> There is currently a bug where rCTEs crash when the optimizer replaces parts 
> of the plan that return empty results with an empty LocalRelation, which 
> destroys the UnionLoopRef inside the recursion of the UnionLoop, which breaks 
> the assumption in the Exec node that there will be a UnionLoopRef node there. 
> This causes prevPlan to never be defined to a non-null value which causes an 
> spark internal error when tried to evaluate.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to