pub fn read_statistics(&self, schema: &Schema) -> Result<Vec<ColumnSummary>> {
        ensure!(!self.md.row_groups().is_empty(), NoRowGroupSnafu);

        let mut column_summaries = Vec::with_capacity(schema.len());

        for (row_group_idx, row_group) in self.md.row_groups().iter().enumerate() {
            let row_group_column_summaries =
                read_statistics_from_parquet_row_group(row_group, row_group_idx, schema)?;

            combine_column_summaries(&mut column_summaries, row_group_column_summaries);
        }

        Ok(column_summaries)
    }
/// Read IOx statistics (including timestamp range) from parquet metadata.
Read IOx statistics (including timestamp range) from parquet metadata.
Read IOx statistics ( including timestamp range ) from parquet metadata .
pub fn read_statistics(&self, schema: &Schema) -> Result<Vec<ColumnSummary>> {
        ensure!(!self.md.row_groups().is_empty(), NoRowGroupSnafu);
        let mut column_summaries = Vec::with_capacity(schema.len());
        for (row_group_idx, row_group) in self.md.row_groups().iter().enumerate() {
            let row_group_column_summaries =
                read_statistics_from_parquet_row_group(row_group, row_group_idx, schema)?;
            combine_column_summaries(&mut column_summaries, row_group_column_summaries);
        }
        Ok(column_summaries)
    }
pub fn read_statistics ( & self , schema : & Schema ) -> Result < Vec < ColumnSummary > > { ensure ! ( self md row_groups ( ) is_empty ( ) NoRowGroupSnafu ) ; let mut column_summaries = Vec :: with_capacity ( schema . len ( ) ) ; for ( row_group_idx , row_group ) in self . md . row_groups ( ) . iter ( ) . enumerate ( ) { let row_group_column_summaries = read_statistics_from_parquet_row_group ( row_group , row_group_idx , schema ) ? ; combine_column_summaries ( & mut column_summaries , row_group_column_summaries ) ; } Ok ( column_summaries ) }
Read IOx statistics (including timestamp range) from parquet metadata.
Read IOx statistics ( including timestamp range ) from parquet metadata .
&self
schema
&Schema
&self
schema
&Schema