@Override
  public Map<String, List<ColumnStatisticsObj>> getPartitionColumnStatistics(
      String catName, String dbName, String tableName, List<String> partNames,
      List<String> colNames, String engine, String validWriteIdList) throws TException {
    PartitionsStatsRequest rqst = new PartitionsStatsRequest(dbName, tableName, colNames,
        partNames == null ? new ArrayList<String>() : partNames);
    rqst.setEngine(engine);
    rqst.setCatName(catName);
    rqst.setValidWriteIdList(validWriteIdList);
    return client.get_partitions_statistics_req(rqst).getPartStats();
  }
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