feat: bloom filter pushdown#2398
Open
xanderbailey wants to merge 6 commits intoapache:mainfrom
Open
Conversation
xanderbailey
commented
May 2, 2026
| /// against them to filter out row groups that definitely don't match. | ||
| async fn filter_row_groups_by_bloom_filter( | ||
| predicate: &crate::expr::BoundPredicate, | ||
| builder: &mut ParquetRecordBatchStreamBuilder<ArrowFileReader>, |
Contributor
Author
There was a problem hiding this comment.
mut reference is because get_row_group_column_bloom_filter requires it.
CTTY
pushed a commit
that referenced
this pull request
May 6, 2026
…-endian (#2397) ## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #. Found this whilst working on #2398 ## What changes are included in this PR? [Spec](https://iceberg.apache.org/spec/#binary-single-value-serialization) says `Int128` and `UInt128` are big-endian not little-endian and indeed we are using big-endian [here](https://github.com/apache/iceberg-rust/blob/c1538de36dd53e491299b62ad89286f2db496bc7/crates/iceberg/src/arrow/schema.rs#L761) for example. I think it's just the doc string which needs correcting. <!-- Provide a summary of the modifications in this PR. List the main changes such as new features, bug fixes, refactoring, or any other updates. --> ## Are these changes tested? <!-- Specify what test covers (unit test, integration test, etc.). If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
What changes are included in this PR?
Adds bloom filter pushdown for equality predicates during Parquet reads. When enabled, the reader loads bloom filters from row group column chunks and uses them to skip row groups that definitely don't contain the queried values.
Key points:
bloom_filter_enabledoption onTableScanBuilderandArrowReaderBuilder(off by default since it requires extra I/O per column per row group)eqorinpredicates — range predicates and other operators are ignoredAre these changes tested?