public Partition getPartition(String dbName, String tableName, List<String> partValues) throws Exception {
    try {
      return client.getPartition(dbName, tableName, partValues);
    } catch (NoSuchObjectException e) {
      return null;
    }
  }
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