zjuwangg opened a new pull request #10209: [FLINK-14688] Add table related DDLs support in SQL Parser URL: https://github.com/apache/flink/pull/10209 ## What is the purpose of the change The PR is only about parser related changes to support table-related commands and Hooking up with table env will come later. We add such parser support: 1. showTablesStatement: SHOW TABLES 2. descTableStatement: DESCRIBE [ EXTENDED] [[catalogName.] dataBasesName].tableName 3. alterTableStatement: ALTER TABLE [[catalogName.] dataBasesName].tableName RENAME TO newTableName 4. ALTER TABLE [[catalogName.] dataBasesName].tableName SET ( name=value [, name=value]*) ## Brief change log - *add show tables syntax support in parsre* - *add describe table support in parser* - *add alter table support in parser* ## Verifying this change This change added tests and can be verified as follows: - *FlinkSqlParserImplTest#testShowTables* - *FlinkSqlParserImplTest#testDescribeTable* - *FlinkSqlParserImplTest#testAlterTable* ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yno) - The serializers: (no ) - The runtime per-record code paths (performance sensitive): (no ) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) - The S3 file system connector: (yes / no / don't know) ## Documentation - Does this pull request introduce a new feature? (yes ) - If yes, how is the feature documented? (not applicable)
---------------------------------------------------------------- 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
