anchovYu commented on code in PR #41864:
URL: https://github.com/apache/spark/pull/41864#discussion_r1253731057
##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -674,6 +674,12 @@
],
"sqlState" : "23505"
},
+ "DUPLICATE_ROUTINE_PARAMETER_ASSIGNMENT" : {
+ "message" : [
+ "Call to function <functionName> is invalid because it includes multiple
argument assignments to the same parameter name <parameterName>."
+ ],
+ "sqlState" : "4274K"
Review Comment:
Let's clarify the sqlState with @srielau . The sqlState used in the error
classes should be recorded in
https://github.com/apache/spark/tree/master/common/utils/src/main/resources/error.
According to
https://www.ibm.com/docs/en/i/7.4?topic=codes-listing-sqlstate-values the
`4274K` seems quite valid, should we document it in the doc
https://github.com/apache/spark/tree/master/common/utils/src/main/resources/error?
--
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]