imback82 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_r375460831
########## 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: OK. I will update it. FYI, in Postgres: ```SQL postgres=# alter table t alter column i; 2020-02-05 14:26:22.056 EST [86874] ERROR: syntax error at or near ";" at character 29 2020-02-05 14:26:22.056 EST [86874] STATEMENT: alter table t alter column i; ERROR: syntax error at or near ";" LINE 1: alter table t alter column i; ``` ---------------------------------------------------------------- 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]
