Created https://issues.apache.org/jira/browse/HIVE-2702 for the same.
On Mon, Jan 9, 2012 at 10:33 PM, Aniket Mokashi wrote:
> Programmatically,
> listPartitionsByFilter on
> HiveMetaStoreClient returns list of partitions for a given filter criteria
> (which supports only string based partitions
Programmatically,
listPartitionsByFilter on
HiveMetaStoreClient returns list of partitions for a given filter criteria
(which supports only string based partitions, we need to open a jira for
that).
For each of these partitions, you can
ptn.getSd().getLocation() to get its location.
Or you can use
Is there an easy/elegant way to query hive for a table's (and a
partition's) location in HDFS?
I'm aware that you can get the location using "describe extended
table_name" but it like to be able to query on just the location key.
If not, is there a way to do so using the mysql metastore db?
Idea