[
https://issues.apache.org/jira/browse/HIVE-14558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naveen Gangam updated HIVE-14558:
---------------------------------
Attachment: HIVE-14558.4.patch
Skipping patch index .3 and attaching .4 directly. This is to match the version
attaching to the reviewboard.
In the new patch,
1) Repurpose ShowTablesDesc to incorporate a type for the tables. This can also
be used for "show views" where there the type becomes "TableType.VIRTUAL_VIEW.
Deleted the ShowViewsDesc class that was added as part of this fix.
2) Using TableType instead of String for the type of the tables being fetched.
I will upload a new patch with those changes.
> Add support for listing views similar to "show tables"
> ------------------------------------------------------
>
> Key: HIVE-14558
> URL: https://issues.apache.org/jira/browse/HIVE-14558
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 2.0.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Attachments: HIVE-14558.1.patch, HIVE-14558.2.patch,
> HIVE-14558.4.patch
>
>
> Users have been asking for such feature where they can get a lists of views
> separately.
> So perhaps a syntax similar to "show tables" command?
> show views [in/from <dbName>] [<pattern>]
> Does it make sense to add such command? or is it not worth the effort?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)