You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/02 10:24:00 UTC

[jira] [Commented] (FLINK-10229) Support listing of views

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

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

hequn8128 commented on a change in pull request #6631: [FLINK-10229] [sql-client] Support listing of views
URL: https://github.com/apache/flink/pull/6631#discussion_r214535527
 
 

 ##########
 File path: flink-libraries/flink-sql-client/src/main/java/org/apache/flink/table/client/cli/CliClient.java
 ##########
 @@ -332,6 +336,17 @@ private void callShowTables() {
 		terminal.flush();
 	}
 
+	private void callShowViews() {
+		final Set<String> views = context.getViews().keySet();
 
 Review comment:
   Get views from `Executor` like `listTables` so that to provide listViews for external systems and gateway mode.

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


> Support listing of views
> ------------------------
>
>                 Key: FLINK-10229
>                 URL: https://issues.apache.org/jira/browse/FLINK-10229
>             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 of views for the SQL Client. According to other database vendors, views are listed in the \{{SHOW TABLES}}. However, there should be a way of listing only the views. We can support the \{{SHOW VIEWS}} command.



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