abaybek opened a new pull request, #50621: URL: https://github.com/apache/arrow/pull/50621
### Rationale for this change Add a `write_size_statistics` keyword to `pyarrow.parquet.write_table`, `ParquetWriter`, and the dataset write path. It exposes the C++ `parquet::WriterProperties::Builder::set_size_statistics_level` setter introduced in GH-40592, accepting "none", "columnchunk", or "pageandcolumnchunk" (None keeps the Arrow C++ default of "pageandcolumnchunk"). Size statistics are written by default, and until now there was no way to disable or tune them from PyArrow. "none" turns them off entirely.. ### What changes are included in this PR? Python/Cython client only — no C++ changes (the underlying setter already exists since Arrow 19.0.0). ### Are these changes tested? Yes, added a test cases to python/pyarrow/tests/parquet/test_basic.py. Also tested against legacy readers. ### Are there any user-facing changes? Yes, a new optional write_size_statistics keyword. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
