sunchao / parquet-rs

Apache Parquet implementation in Rust
Apache License 2.0
149 stars 20 forks source link

Support writing statistics #164

Open sadikovi opened 5 years ago

sadikovi commented 5 years ago

This is derived from #116.

It would good to add statistics support for a write path, since currently we do not write statistics. I think it only needs to be added to column writer (as a statistics update code), other parts of the code already handle if statistics were written for a column.

We also already have a feature flag in WriterProperties to enable/disable statistics and max size for statistics. They should also be utilised when working on this task.