milanisvet commented on code in PR #49518:
URL: https://github.com/apache/spark/pull/49518#discussion_r1923949925
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3117,6 +3117,29 @@
],
"sqlState" : "42602"
},
+ "INVALID_RECURSIVE_REFERENCE" : {
+ "message" : [
+ "Invalid recursive reference found inside WITH RECURSIVE clause."
+ ],
+ "subClass" : {
+ "DATA_TYPE" : {
+ "message" : [
+ "The data type of recursive references cannot change during
resolution. Check that anchor and recursion term actually output the same data
type. Originally it was <fromDataType> but after resolution is <toDataType>."
+ ]
+ },
+ "NUMBER" : {
Review Comment:
Moved there, thanks :)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]