2021年1月22日星期五

Is there a function in HiveMetaStoreClient which will give me all Partitions of a hive-table?

I have tried some functions like getPartition, getPartitionsByNames, listPartitions. I need something like if i give the name of a partition column, then the function should return all the partitions of it existing in hdfs.

Example: Function(dbName, tableName, partitonColumnName) Output: 12345, 12346, 12347, 12348 It should return all partitions existing in hdfs

https://stackoverflow.com/questions/65844451/is-there-a-function-in-hivemetastoreclient-which-will-give-me-all-partitions-of January 22, 2021 at 07:38PM

没有评论:

发表评论