michaelzhan-db commented on code in PR #42524:
URL: https://github.com/apache/spark/pull/42524#discussion_r1307707926
##########
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 CHANGE COLUMN is not supported for partition columns in
non-delta tables.",
Review Comment:
I believe that `ALTER COLUMN` and `CHANGE COLUMN` are interchangeable based
on the parser rules
https://github.com/apache/spark/blob/c8a209251374c28868aea809f51c467fdd0d1443/sql/api/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseParser.g4#L130
I will update the error message to reflect this.
--
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]