srielau commented on code in PR #47614:
URL: https://github.com/apache/spark/pull/47614#discussion_r1750413661
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -1583,6 +1583,24 @@
],
"sqlState" : "42601"
},
+ "IDENTITY_COLUMNS_DUPLICATED_SEQUENCE_GENERATOR_OPTION" : {
+ "message" : [
+ "Duplicated IDENTITY column sequence generator option:
<sequenceGeneratorOption>."
+ ],
+ "sqlState" : "42601"
+ },
+ "IDENTITY_COLUMNS_ILLEGAL_STEP" : {
+ "message" : [
+ "IDENTITY column step cannot be 0."
+ ],
+ "sqlState" : "42611"
+ },
+ "IDENTITY_COLUMNS_UNSUPPORTED_DATA_TYPE" : {
+ "message" : [
+ "DataType <dataType> is not supported for IDENTITY columns."
+ ],
+ "sqlState" : "428H2"
+ },
Review Comment:
+1 Always nice to see thoughtful pick for SQLSTATE :-)
--
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]