cloud-fan commented on a change in pull request #27444: [SPARK-30614][SQL] The native ALTER COLUMN syntax should change one property at a time URL: https://github.com/apache/spark/pull/27444#discussion_r375060713
########## File path: sql/core/src/test/resources/sql-tests/results/change-column.sql.out ########## @@ -27,11 +27,11 @@ struct<> -- !query output org.apache.spark.sql.catalyst.parser.ParseException -Operation not allowed: ALTER TABLE table CHANGE COLUMN requires a TYPE or a COMMENT or a FIRST/AFTER(line 1, pos 0) Review comment: The previous error message is better. Maybe we should make `alterColumnAction` optional, and throw error with nice message if it's not specified. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
