[ 
https://issues.apache.org/jira/browse/FLINK-10230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597589#comment-16597589
 ] 

ASF GitHub Bot commented on FLINK-10230:
----------------------------------------

yanghua opened a new pull request #6637: [FLINK-10230][SQL Client] Support 
printing the query of a view
URL: https://github.com/apache/flink/pull/6637
 
 
   ## What is the purpose of the change
   
   *This pull request support printing the query of a view*
   
   ## Brief change log
   
     - *Support printing the query of a view with statement `SHOW CREATE VIEW`*
   
   
   ## Verifying this change
   
   This change is already covered by existing tests, such as 
*SqlCommandParserTest#testCommands and LocalExecutorITCase#testShowCreateView*.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (yes / **no**)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** 
/ don't know)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (**yes** / no)
     - If yes, how is the feature documented? (not applicable / **docs** / 
JavaDocs / not documented)
   

----------------------------------------------------------------
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:
us...@infra.apache.org


> Support printing the query of a view
> ------------------------------------
>
>                 Key: FLINK-10230
>                 URL: https://issues.apache.org/jira/browse/FLINK-10230
>             Project: Flink
>          Issue Type: New Feature
>          Components: SQL Client
>            Reporter: Timo Walther
>            Assignee: vinoyang
>            Priority: Major
>              Labels: pull-request-available
>
> FLINK-10163 added initial support for views in SQL Client. We should add a 
> command that allows for printing the query of a view for debugging. MySQL 
> offers {{SHOW CREATE VIEW}} for this. Hive generalizes this to {{SHOW CREATE 
> TABLE}}. The latter one could be extended to also show information about the 
> used table factories and properties.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to