Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
IMetaStoreClient exposes the following methods related to listing partitions:
List<String> listPartitionNames(String db_name, String tbl_name, List<String> part_vals, short max_parts); List<String> listPartitionNames(String catName, String db_name, String tbl_name, List<String> part_vals, int max_parts); List<Partition> listPartitions(String db_name, String tbl_name, List<String> part_vals, short max_parts); List<Partition> listPartitions(String catName, String db_name, String tbl_name, List<String> part_vals, int max_parts); List<String> listPartitionNames(String db_name, String tbl_name, short max_parts); List<String> listPartitionNames(String catName, String db_name, String tbl_name, int max_parts); List<String> listPartitionNames(String db_name, String tbl_name, List<String> part_vals, short max_parts); List<String> listPartitionNames(String catName, String db_name, String tbl_name, List<String> part_vals, int max_parts); PartitionSpecProxy listPartitionSpecs(String dbName, String tableName, int maxParts); PartitionSpecProxy listPartitionSpecs(String catName, String dbName, String tableName,int maxParts); List<Partition> listPartitionsWithAuthInfo(String dbName, String tableName, List<String> partialPvals, short maxParts, String userName, List<String> groupNames); List<Partition> listPartitionsWithAuthInfo(String catName, String dbName, String tableName, List<String> partialPvals, int maxParts, String userName, List<String> groupNames);
In order to support partitions on temporary tables, the majority of these methods must be implemented in SessionHiveMetastoreClient.