AnishMahto commented on code in PR #56124:
URL: https://github.com/apache/spark/pull/56124#discussion_r3308396505
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -244,6 +250,12 @@
],
"sqlState" : "42000"
},
+ "AUTOCDC_NON_COLUMN_IDENTIFIER" : {
+ "message" : [
+ "Expected a column identifier; got the non-attribute expression
`<expression>`. AutoCDC keys, sequence_by, column_list, and except_column_list
must reference unqualified column names."
+ ],
+ "sqlState" : "42703"
Review Comment:
IMO these are not syntax errors but rather semantic errors; the user didn't
supply a incorrect value type, but rather an invalid value that is still
syntactically correct. Chose sqlState `22023` instead.
--
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]