hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rachna Jotwani Bakhru" <rjotw...@dag.com>
Subject RE: View definition information
Date Thu, 15 Oct 2015 20:49:28 GMT
Thanks I have created the Jira request.

 

From: Alan Gates [mailto:alanfgates@gmail.com] 
Sent: Thursday, October 15, 2015 7:21 AM
To: user@hive.apache.org
Subject: Re: View definition information

 

It should certainly be possible.  Can you file a JIRA adding this as a new
feature, and if you're so inclined feel free to contribute a patch to add
this.

Alan.






 <mailto:rjotwani@dag.com> Rachna Jotwani Bakhru

October 14, 2015 at 16:47

We are currently using the HCatalog API to get the Hive Database metadata.
HCatClient with MetaStore uri.
The HCatTable object returned by the HCatClient does not have the view SQL
(view definition).
As a workaround we are using the Hive Metastore API to get the view SQL
from the Table (getViewOriginalText() method) object returned by the
HiveMetaStoreClient.
Would it be possible to fix this in the HCatalog api? Could this attribute
be added to the HCatTable class?

Thanks
Rachna





Mime
View raw message