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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org