original_docstring: Validates that 'hdfs_path' contains exactly one parquet file and that the rowgroup
      statistics in that file match the values in 'expected_values'. Columns indexed by
      'skip_col_idx' are excluded from the verification of the expected values.
      
docstring: Validates that 'hdfs_path' contains exactly one parquet file and that the rowgroup
  statistics in that file match the values in 'expected_values'. Columns indexed by
  'skip_col_idx' are excluded from the verification of the expected values.
docstring_tokens: Validates that ' hdfs_path ' contains exactly one parquet file and that the rowgroup statistics in that file match the values in ' expected_values ' . Columns indexed by ' skip_col_idx ' are excluded from the verification of the expected values .
code: def _validate_parquet_stats(self, hdfs_path, expected_values, skip_col_idxs = None):
      """Validates that 'hdfs_path' contains exactly one parquet file and that the rowgroup
      statistics in that file match the values in 'expected_values'. Columns indexed by
      'skip_col_idx' are excluded from the verification of the expected values.
      """
      skip_col_idxs = skip_col_idxs or []
      # The caller has to make sure that the table fits into a single row group. We enforce
      # it here to make sure the results are predictable and independent of how the data
      # could get written across multiple files.
      row_group_stats = self._get_row_group_stats_from_hdfs_folder(hdfs_path)
      assert(len(row_group_stats)) == 1
      table_stats = row_group_stats[0]
  
      num_columns = len(table_stats)
      assert num_columns == len(expected_values)
  
      for col_idx, stats, expected in zip(range(num_columns), table_stats, expected_values):
        if col_idx in skip_col_idxs:
          continue
        if not expected:
          assert not stats
          continue
        assert stats == expected
code_tokens: def _validate_parquet_stats ( self , hdfs_path , expected_values , skip_col_idxs = None ) : skip_col_idxs = skip_col_idxs or [ ] row_group_stats = self . _get_row_group_stats_from_hdfs_folder ( hdfs_path ) assert ( len ( row_group_stats ) ) == 1 table_stats = row_group_stats [ 0 ] num_columns = len ( table_stats ) assert num_columns == len ( expected_values ) for col_idx , stats , expected in zip ( range ( num_columns ) , table_stats , expected_values ) : if col_idx in skip_col_idxs : continue if not expected : assert not stats continue assert stats == expected
short_docstring: Validates that 'hdfs_path' contains exactly one parquet file and that the rowgroup
  statistics in that file match the values in 'expected_values'.
short_docstring_tokens: Validates that ' hdfs_path ' contains exactly one parquet file and that the rowgroup statistics in that file match the values in ' expected_values ' .
comment: """Validates that 'hdfs_path' contains exactly one parquet file and that the rowgroup
      statistics in that file match the values in 'expected_values'. Columns indexed by
      'skip_col_idx' are excluded from the verification of the expected values.
      """$SEP$# The caller has to make sure that the table fits into a single row group. We enforce$SEP$# it here to make sure the results are predictable and independent of how the data$SEP$# could get written across multiple files.