etseidl opened a new pull request, #11953: URL: https://github.com/apache/arrow-rs/pull/11953
# Which issue does this PR close? - Closes #9067 # Rationale for this change Applications with existing Parquet column metadata and an `AsyncFileReader` cannot currently load a Bloom filter through a public API without constructing a `ParquetRecordBatchStreamBuilder` or duplicating internal header parsing. Expose the async equivalent of `Sbbf::read_from_column_chunk` so metadata-only pruning code can read a selected physical column's Bloom filter directly. # What changes are included in this PR? Add `Sbbf::read_from_column_chunk_async<R: AsyncFileReader + ?Sized>` and delegate `ParquetRecordBatchStreamBuilder::get_row_group_column_bloom_filter` to it. # Are these changes tested? Yes, new tests are added. # Are there any significant user-facing changes? Adds to the public API, but changes no public signatures. Malformed lengths or incomplete bitsets will now return an error. # AI disclosure AI assistance was used to author the implementation and tests. -- 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]
