List<ColumnStatisticsObj> getPartitionColumnStatistics(String dbName, String tableName,
                                                         String partName, List<String> colNames)
          throws Exception {
    return client.getPartitionColumnStatistics(dbName, tableName,
                                              Collections.singletonList(partName), colNames, Constants.HIVE_ENGINE).get(0);
  }
Get statistics for a given partition of the given table in the given database.
@param dbName - the database where the table resides
@param tableName - name of the partitioned table in the database
@param colNames - columns whose statistics is to be retrieved
@return Map of partition name and list of ColumnStatisticsObj. The objects in the list are
ordered according to the given list of columns.
@throws Exception
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java