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

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

     [ https://issues.apache.org/jira/browse/HIVE-21812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Pinter updated HIVE-21812:
---------------------------------
    Attachment: HIVE-21812.02.patch

> 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
>    Affects Versions: 4.0.0
>            Reporter: Laszlo Pinter
>            Assignee: Laszlo Pinter
>            Priority: Major
>         Attachments: HIVE-21812.01.patch, HIVE-21812.02.patch
>
>
> IMetastoreClient exposes severalĀ APIsĀ related to getting partitions. The 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)