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 2018/08/23 05:40:12 UTC

[GitHub] twalthr opened a new pull request #6606: [FLINK-10163] [sql-client] Support views in SQL Client

twalthr opened a new pull request #6606: [FLINK-10163] [sql-client] Support views in SQL Client
URL: https://github.com/apache/flink/pull/6606
 
 
   ## 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
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services