Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0
-
None
-
None
Description
IMetastoreClient exposes several APIs related to getting partitions. The definition of the APIs are:
Partition getPartition(String dbName, String tblName, List<String> partVals); Partition getPartition(String catName, String dbName, String tblName, List<String> partVals); Partition getPartition(String dbName, String tblName, String name); Partition getPartition(String catName, String dbName, String tblName, String name); Partition getPartitionWithAuthInfo(String dbName, String tableName, List<String> pvals, String userName, List<String> groupNames); Partition getPartitionWithAuthInfo(String catName, String dbName, String tableName, List<String> pvals, String userName, List<String> groupNames); List<Partition> getPartitionsByNames(String db_name, String tbl_name, List<String> part_names); List<Partition> getPartitionsByNames(String catName, String db_name, String tbl_name, List<String> part_names); Partition getPartitionWithAuthInfo(String dbName, String tableName, List<String> pvals, String userName, List<String> groupNames); Partition getPartitionWithAuthInfo(String catName, String dbName, String tableName, List<String> pvals, String userName, List<String> groupNames);
In order to support partitions on temporary tables, the majority of these methods must be implemented in SessionHiveMetastoreClient.