You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pavle Martinović (Jira)" <ji...@apache.org> on 2025/07/23 07:30:00 UTC

[jira] [Created] (SPARK-52925) Return correct error message for anchor self references in rCTEs

Pavle Martinović created SPARK-52925:
----------------------------------------

             Summary: 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ć


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