cloud-fan commented on code in PR #49518: URL: https://github.com/apache/spark/pull/49518#discussion_r1928073973
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -3129,6 +3129,29 @@ ], "sqlState" : "42836" }, + "INVALID_RECURSIVE_REFERENCE" : { + "message" : [ + "Invalid recursive reference found inside WITH RECURSIVE clause." + ], + "subClass" : { + "NUMBER" : { + "message" : [ + "Multiple self-references to one recursive CTE are not allowed." + ] + }, + "PLACE" : { + "message" : [ + "Recursive references cannot be used on the right side of left outer/semi/anti joins, on the left side of right outer joins, in full outer joins and in aggregates." Review Comment: ```suggestion "Recursive references cannot be used on the right side of left outer/semi/anti joins, on the left side of right outer joins, in full outer joins, in aggregates, and in subquery expressions." ``` -- 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