pub enum EnabledStatistics {
None,
Chunk,
Page,
}
Expand description
Controls the level of statistics to be computed by the writer and stored in the parquet file.
Enabling statistics makes the resulting Parquet file larger and requires more time to read the parquet footer.
Statistics can be used to improve query performance by pruning row groups and pages during query execution if the query engine supports evaluating the predicate using the statistics.
Variants§
None
Compute no statistics.
Chunk
Compute column chunk-level statistics but not page-level.
Setting this option will store one set of statistics for each relevant column for each row group. The more row groups written, the more statistics will be stored.
Page
Compute page-level and column chunk-level statistics.
Setting this option will store one set of statistics for each relevant column for each page and row group. The more row groups and the more pages written, the more statistics will be stored.
Trait Implementations§
Source§impl Clone for EnabledStatistics
impl Clone for EnabledStatistics
Source§fn clone(&self) -> EnabledStatistics
fn clone(&self) -> EnabledStatistics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more