itholic commented on code in PR #48381:
URL: https://github.com/apache/spark/pull/48381#discussion_r1798652009


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -2578,6 +2578,13 @@
     },
     "sqlState" : "42K0K"
   },
+  "INVALID_JAVA_IDENTIFIER_AS_FIELD_NAME" : {
+    "message" : [
+      "`<fieldName>` is not a valid identifier of Java and cannot be used as 
field name",
+      "<walkedTypePath>."
+    ],
+    "sqlState" : "42601"

Review Comment:
   42601 says "A character, token, or clause is invalid or missing." so I 
picked it, but 
   46121 "invalid column name" seems better.
   Let me update it



-- 
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]

Reply via email to