LadyForest opened a new pull request, #21640:
URL: https://github.com/apache/flink/pull/21640

   ## What is the purpose of the change
   
   This pull request is a subtask of FLINK-21634 and aims to support the `ALTER 
TALBE IF EXISTS <table_identifier> ...` statement.
   
   
   ## Brief change log
   
   - 6167b501 extends the parser template to support `IF EXISTS` and adjusts 
`SqlAlterTable` to add `ifExists` to the constructor params. During the 
operation conversion phase, `SqlToOperationConverter` will convert the alter 
statement to a `NopOperation` to be ignored if the table does not exist and `IF 
EXISTS` is specified.
   
   
   ## Verifying this change
   
   This change added tests and can be verified as follows:
   
   - FlinkSqlParserImplTest
   - SqlToOperationConverterTest
   - table.q
   
   ## 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)`: No
     - The serializers: No
     - The runtime per-record code paths (performance sensitive): No
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: No
     - The S3 file system connector: No
   
   ## Documentation
   
     - Does this pull request introduces a new feature? Yes
     - If yes, how is the feature documented? It'll be documented after 
FLINK-22320 finishes
   


-- 
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]

Reply via email to