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



##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,6 +11,25 @@
     "message" : [ "Found duplicate keys '%s'" ],
     "sqlState" : "23000"
   },
+  "GROUPING_COLUMN_MISMATCH" : {
+    "message" : [ "Column of grouping (%s) can't be found in grouping columns 
%s" ],
+    "sqlState" : "22023"

Review comment:
       In this case, all of the new error classes fall under SQLSTATE 22023, 
which represents an invalid parameter value. Another common SQLSTATE is 42000, 
which represents all syntax and semantic errors.




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