Repository navigation
Read Parquet bloom filters in one request when a file has many row groups #2526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
ianton-ru
wants to merge
9
commits into
antalya-26.6
from
feature/antalya-26.6/parquet-bloom-filter-coalesce
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
348489a
Read Parquet bloom filters in one request when a file has many row gr…
ianton-ru 31bfbfa
Merge branch 'antalya-26.6' into feature/antalya-26.6/parquet-bloom-f…
ianton-ru 3ed1daf
Keep a coalesced Parquet read charged until the last handle drops the…
ianton-ru 7d0a392
Count Parquet bloom filters that omit `bloom_filter_length`.
ianton-ru 0e8a14a
Skip dictionary-filtered chunks when counting Parquet bloom filters f…
ianton-ru ffea12b
Record Parquet bloom-filter coalescing as a 26.6.8 setting so older `…
ianton-ru cb03b8f
Honor `input_format_parquet_bloom_filter_coalesce_max_bytes` when it …
ianton-ru eb454b5
Cap a coalesced Parquet bloom read by the whole task so a bloom body …
ianton-ru 8cf9fae
Merge branch 'antalya-26.6' into feature/antalya-26.6/parquet-bloom-f…
ianton-ru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new span-limit check still permits an oversized read when the full bloom-filter data range sorts immediately before its header range: both ranges start at the same offset, so
r.start + span_limit <= initial_offsetis false for every positive limit, even whenr.end - r.startgreatly exceeds that limit. Because equal-key ordering fromstd::sortis unspecified, starting the header can then absorb the entire filter and bypassinput_format_parquet_bloom_filter_coalesce_max_bytes, rather than later splitting the data request into selected 32-byte blocks; this can turn a small selective read into a tens-of-megabytes request. Check the span after accounting forr.endas well asr.start.Useful? React with 👍 / 👎.