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

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

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

> Return correct error message for anchor self references in rCTEs
> ----------------------------------------------------------------
>
>                 Key: SPARK-52925
>                 URL: https://issues.apache.org/jira/browse/SPARK-52925
>             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
>
>
> Catch case when there is a self reference in the anchor, and return an error 
> message that this is an illegal rCTE. 
> Currently the cases where rCTEs are self referenced inside the anchor return 
> unhelpful messages which happen due to the fact that the recursive CTE isn't 
> defined at the time.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to