ozgrakkurt opened a new issue, #4587:
URL: https://github.com/apache/arrow-rs/issues/4587
If I write files with:
```
.set_statistics_enabled(EnabledStatistics::None)
.set_column_statistics_enabled("block_number".into(),
EnabledStatistics::Page)
```
When I query it with datafusion or just
`parquet::ParquetRecordBatchReaderBuilder`, it errors with: "missing offset
index"
Seems like it is skipping writing offset indices if page statistics are
globally disabled?
I would expect, if it doesn't write offset indices then it shouldn't try to
filter pages by statistics, also it should be documented that
`set_column_statistics_enabled` doesn't override global settings in this way.
--
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]