karenfeng commented on a change in pull request #33535:
URL: https://github.com/apache/spark/pull/33535#discussion_r678635756



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -3,6 +3,18 @@
     "message" : [ "Field name %s is ambiguous and has %s matching fields in 
the struct." ],
     "sqlState" : "42000"
   },
+  "COLUMN_ALIASES_NOT_ALLOWED_IN_OPERATION" : {
+    "message" : [ "Columns aliases are not allowed in %s." ],
+    "sqlState" : "10000"

Review comment:
       See https://github.com/apache/spark/pull/33560 for the standard 
SQLSTATEs. I think this would be 42000; we'll do another pass before the 3.3 
release to clean up any incorrect ones.




-- 
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]

Reply via email to