You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2020/04/26 09:26:00 UTC
[jira] [Assigned] (FLINK-17111) Support SHOW VIEWS in Flink SQL
[ https://issues.apache.org/jira/browse/FLINK-17111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee reassigned FLINK-17111:
------------------------------------
Assignee: Zhenghua Gao
> Support SHOW VIEWS in Flink SQL
> --------------------------------
>
> Key: FLINK-17111
> URL: https://issues.apache.org/jira/browse/FLINK-17111
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API, Table SQL / Planner
> Affects Versions: 1.10.0
> Reporter: Zhenghua Gao
> Assignee: Zhenghua Gao
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
>
> SHOW TABLES and SHOW VIEWS are not SQL standard-compliant commands.
> MySQL supports SHOW TABLES which lists the non-TEMPORARY tables(and views) in a given database, and doesn't support SHOW VIEWS.
> Oracle/SQL Server/PostgreSQL don't support SHOW TABLES and SHOW VIEWS. A workaround is to query a system table which stores metadata of tables and views.
> Hive supports both SHOW TABLES and SHOW VIEWS.
> We follows the Hive style which lists all tables and views with SHOW TABLES and lists only views with SHOW VIEWS.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)