srielau commented on code in PR #49427: URL: https://github.com/apache/spark/pull/49427#discussion_r1920329866
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -1241,6 +1241,24 @@ ], "sqlState" : "42614" }, + "DUPLICATE_CONDITION_IN_SCOPE" : { + "message" : [ + "Found duplicate condition <condition> in the scope. Please, remove one of them." + ], + "sqlState" : "42710" Review Comment: ```suggestion "sqlState" : "42734" ``` ########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -1241,6 +1241,24 @@ ], "sqlState" : "42614" }, + "DUPLICATE_CONDITION_IN_SCOPE" : { + "message" : [ + "Found duplicate condition <condition> in the scope. Please, remove one of them." + ], + "sqlState" : "42710" + }, + "DUPLICATE_CONDITION_IN_HANDLER_DECLARATION" : { + "message" : [ + "Found duplicate condition <condition> in the handler declaration. Please, remove one of them." + ], + "sqlState" : "42710" Review Comment: ```suggestion "sqlState" : "42734" ``` -- 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