hive - HiveQL : Query to list only the views -


is there hive query list views available in particular database.

in mysql query think below:

select table_name information_schema.tables table_type 'view' , table_schema 'database_name';

i want similar hiveql.

there no information_schema implementation in hive currently.

there open jira can view @ following link:

https://issues.apache.org/jira/browse/hive-1010

however, if hive metastore configured using derby mysql server can access information require.

the different ways of configuring hive metastore can found at:

http://www.thecloudavenue.com/2013/11/differentwaysofconfiguringhivemetastore.html

here detailed e/r diagram of metastore:

https://issues.apache.org/jira/secure/attachment/12471108/hivemetastore.pdf

after configuring metastore, can obtain information want query like:

select * tbls tbls_type = "view"


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -