cloud-fan commented on code in PR #49351:
URL: https://github.com/apache/spark/pull/49351#discussion_r1919547035


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3048,6 +3048,12 @@
     ],
     "sqlState" : "42000"
   },
+  "INVALID_RECURSIVE_CTE" : {
+    "message" : [
+      "Invalid recursive definition found. Recursive queries must contain an 
UNION or an UNION ALL statement with 2 children. The first child needs to be 
the anchor term without any recursive references. <error>"

Review Comment:
   do we really need this `<error>` parameter? It's always `Unsupported 
recursive CTE UNION placement.` which seems duplicated with the error message 
here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to