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 09:18:00 UTC

[jira] [Created] (HIVE-21812) Implement get partition related methods on temporary tables

Laszlo Pinter created HIVE-21812:
------------------------------------

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


IMetastoreClient exposes severalĀ APIsĀ related to getting partitions. These definition of the APIs are:
{code:java}
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);
{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)