MaxGekk commented on code in PR #41863:
URL: https://github.com/apache/spark/pull/41863#discussion_r1252888373


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -2903,6 +2923,11 @@
       "3. set \"spark.sql.legacy.allowUntypedScalaUDF\" to \"true\" and use 
this API with caution."
     ]
   },
+  "UPDATE_FIELD_WITH_STRUCT_UNSUPPORTED" : {

Review Comment:
   A sub-class of `UNSUPPORTED_FEATURE`?



##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -724,6 +724,11 @@
     ],
     "sqlState" : "42K04"
   },
+  "FIELD_NAMES_ALREADY_EXISTS_IN_STRUCT" : {

Review Comment:
   Maybe shorter, similarly to `COLUMN_ALREADY_EXISTS`?:
   ```
   FIELDS_ALREADY_EXIST
   ```



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