## What is the purpose of the change Adds initial support for views in SQL Client. It adds the following statements: - `CREATE VIEW`: Creates a virtual table from a SQL query. Syntax: 'CREATE VIEW <name> AS <query>' - `SHOW VIEW`: Describes a previously created virtual table. Syntax: 'SHOW VIEW <name>' - `DROP VIEW`: Deletes a previously created virtual table. Syntax: 'DROP VIEW <name>'
It also adds the section `views` to environment files. ## Brief change log - Rewritten statement parser for statements with more than 1 operand - View support added throughout the SQL Client - Initial validation of environment files during startup - Code clean up ## Verifying this change - `SqlCommandParserTest` - `ExecutionContextTest` - `LocalExecutorITCase` ## 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, Yarn/Mesos, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? docs [ Full content available at: https://github.com/apache/flink/pull/6606 ] This message was relayed via gitbox.apache.org for [email protected]
