dbatomic commented on code in PR #44968:
URL: https://github.com/apache/spark/pull/44968#discussion_r1475849461


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -451,6 +451,12 @@
     ],
     "sqlState" : "42704"
   },
+  "COLLATION_INVALID_NAME" : {
+    "message" : [
+      "The value <collationName> does not represent correct collation name."
+    ],
+    "sqlState" : "22018"

Review Comment:
   Yeah, this probably is not the right error state. Waiting for your feedback 
on the appropriate one.
   
   I just checked PGSql and it returns `"description": "An undefined column or 
parameter name was detected.",` Should we do the same?



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