You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "michaelzhan-db (via GitHub)" <gi...@apache.org> on 2023/09/27 21:11:20 UTC

[GitHub] [spark] michaelzhan-db commented on a diff in pull request #42524: [SPARK-44837][SQL] Improve ALTER TABLE ALTER PARTITION column error message

michaelzhan-db commented on code in PR #42524:
URL: https://github.com/apache/spark/pull/42524#discussion_r1339222755


##########
common/utils/src/main/resources/error/error-classes.json:
##########
@@ -92,6 +92,13 @@
       "The method <methodName> can not be called on streaming Dataset/DataFrame."
     ]
   },
+  "CANNOT_ALTER_PARTITION_COLUMN" : {
+    "message" : [
+      "ALTER TABLE (ALTER|CHANGE) COLUMN is not supported for partition columns in non-delta tables.",

Review Comment:
   You're right. We shouldn't specify third party formats. I'll change the error message to `ALTER TABLE (ALTER|CHANGE) COLUMN is not supported for partition columns.`



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org