[improvement](be) Add bloom filter pruning for new parquet reader#64025
Merged
suxiaogang223 merged 2 commits intoJun 2, 2026
Merged
Conversation
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary: New parquet row group pruning did not use Parquet bloom filters, so equality and IN predicates could only rely on statistics and dictionary pruning before falling back to reading row groups.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- Local: git diff --check
- Fedora: BUILD_TYPE=DEBUG ./build.sh --be
- Fedora: ./run-be-ut.sh --run '--filter=ParquetBloomFilterPruningTest.*'
- Fedora: ./run-be-ut.sh --run '--filter=NewParquetReaderTest.*:ParquetColumnReaderTest.*:ParquetBloomFilterPruningTest.*'
- Behavior changed: Yes. New parquet reader can prune row groups with Parquet bloom filters when enabled and predicates are supported equality or IN-list predicates.
- Does this need documentation: No
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: The new parquet reader internal layering document still described bloom filter pruning as a future task after the implementation was added. ### Release note None ### Check List (For Author) - Test: No need to test (documentation-only change) - Behavior changed: No - Does this need documentation: Yes
c2e474b
into
apache:refact_reader_branch
18 of 20 checks passed
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.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary: New parquet row group pruning did not use Parquet bloom filters, so equality and IN predicates could only rely on statistics and dictionary pruning before falling back to reading row groups.
This PR adds conservative bloom-filter row group pruning for the new parquet reader by reusing Arrow Parquet bloom filter APIs and adapting Doris file-layer predicates to Arrow Parquet hash checks.
Release note
None
Check List (For Author)