You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/08 06:05:33 UTC

[GitHub] [flink] lsyldliu commented on a diff in pull request #19329: [FLINK-22318][table] Support RENAME column name for ALTER TABLE statement

lsyldliu commented on code in PR #19329:
URL: https://github.com/apache/flink/pull/19329#discussion_r845763835


##########
flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl:
##########
@@ -548,6 +551,18 @@ SqlAlterTable SqlAlterTable() :
                         tableIdentifier,
                         newTableIdentifier);
         }
+    |
+        <RENAME>

Review Comment:
   About the syntax, we have a conclusion in issue [ALTER TABLE statement enhancement](https://issues.apache.org/jira/browse/FLINK-21634), we don't use COLUMN keyword. Moreover, COLUMN is optional in Spark.



-- 
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: issues-unsubscribe@flink.apache.org

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