@Override
  public List<Partition> exchange_partitions(Map<String, String> partitionSpecs,
                                             String sourceDb, String sourceTable, String destDb,
                                             String destinationTableName) throws TException {
    return exchange_partitions(partitionSpecs, getDefaultCatalog(conf), sourceDb, sourceTable,
        getDefaultCatalog(conf), destDb, destinationTableName);
  }
Exchange the partitions between two tables

@param partitionSpecs       partitions specs of the parent partition to be exchanged
@param destDb               the db of the destination table
@param destinationTableName the destination table name
@return new partitions after exchanging
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java