mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
**Rationale for this change** In arrow::dataset::MakeReaderProperties, all parquet::ReaderProperties options had to be copied field-by-field from parquet_scan_options->reader_properties because ReaderProperties did not support mutating or setting MemoryPool* after construction. **What changes are included in this PR?** Added set_memory_pool to parquet::ReaderProperties in cpp/src/parquet/properties.h. Added unit test TestReaderProperties.SetMemoryPool in cpp/src/parquet/properties_test.cc. Are these changes tested? Yes Are there any user-facing changes? No * GitHub Issue: #51264 Authored-by: Diveyam Mishra <mishradiveyam@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>