[ 
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.2.patch

New patch.
1) merged a few methods to ensure showTables() and showViews() re-use common 
code.
2) Deleted the new methods I added to for getViews*() I added in the prior 
patch. The new patch adds a getTablesByType() method that is used by the old 
getTables*() methods too.
3) Improved java docs comments.
4) Changes some view names to match table name in the qtest file.

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

Reply via email to