cloud-fan commented on code in PR #49559:
URL: https://github.com/apache/spark/pull/49559#discussion_r1924680491


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3938,6 +3938,18 @@
     ],
     "sqlState" : "0A000"
   },
+  "NOT_SUPPORTED_CHANGE_PARENT_CHILD_COLUMN" : {
+    "message" : [
+      "ALTER TABLE ALTER/CHANGE COLUMN is not supported for changing <table>'s 
parent field <parentField> and child field <childField> in the same command."
+    ],
+    "sqlState" : "0A000"
+  },
+  "NOT_SUPPORTED_CHANGE_SAME_COLUMN" : {

Review Comment:
   We can always use this error class, as changing the nested field also means 
changing its parent column.



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