Laszlo Pinter created HIVE-22084:
------------------------------------
Summary: Implement exchange partitions related methods on
SessionHiveMetastoreClient
Key: HIVE-22084
URL: https://issues.apache.org/jira/browse/HIVE-22084
Project: Hive
Issue Type: Sub-task
Components: Hive
Reporter: Laszlo Pinter
Assignee: Laszlo Pinter
Fix For: 4.0.0
IMetaStoreClient exposes the following methods related to exchanging partitions:
{code:java}
Partition exchange_partition(Map<String, String> partitionSpecs, String
sourceDb, String sourceTable, String destdb, String destTableName);
Partition exchange_partition(Map<String, String> partitionSpecs, String
sourceCat, String sourceDb, String sourceTable, String destCat, String destdb,
String destTableName);
List<Partition> exchange_partitions(Map<String, String> partitionSpecs, String
sourceDb, String sourceTable, String destdb, String destTableName);
List<Partition> exchange_partitions(Map<String, String> partitionSpecs, String
sourceCat, String sourceDb, String sourceTable, String destCat, String destdb,
String destTableName);{code}
In order to support partitions on temporary tables, these methods must be
implemented.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)