You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Laszlo Pinter (JIRA)" <ji...@apache.org> on 2019/05/31 13:06:00 UTC

[jira] [Created] (HIVE-21814) Implement list partitions related methods on temporary tables

Laszlo Pinter created HIVE-21814:
------------------------------------

             Summary: Implement list partitions related methods on temporary tables
                 Key: HIVE-21814
                 URL: https://issues.apache.org/jira/browse/HIVE-21814
             Project: Hive
          Issue Type: Sub-task
            Reporter: Laszlo Pinter
            Assignee: Laszlo Pinter


IMetaStoreClient exposes the following methods related to listing partitions:
{code:java}
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);
{code}

In order to support partitions on temporary tables, the majority of these methods must be implemented in SessionHiveMetastoreClient.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)