-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[enhancement](scan) Optimize Parquet V2 predicate filtering #66261
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
Gabriel39
wants to merge
12
commits into
apache:branch-4.1
from
Gabriel39:agent/parquet-v2-selection-rf-global-dict
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2640d4c
[enhancement](scan) optimize parquet v2 predicate filtering
Gabriel39 2dd97a4
[fix](scan) initialize refreshed JNI predicates
Gabriel39 c6171fb
[fix](scan) preserve late predicate reader state
Gabriel39 23ec459
[cleanup](scan) remove query dictionary filter cache
Gabriel39 a37f832
Revert "[fix](file) Revert split residual predicate ownership (#65998)"
Gabriel39 2479690
[fix](be) Restore FileScannerV2 residual predicate ownership
Gabriel39 a3042cf
[opt](file) Localize safe scanner v2 predicates independently
Gabriel39 153bfc1
[improvement](scan) Avoid materializing post-filter predicate columns
Gabriel39 7535c80
[fix](scan) Keep predicate localization split-local
Gabriel39 3f3fc2f
[enhancement](scan) Accelerate Parquet direct predicate filtering
Gabriel39 d472293
[fix](scan) Avoid MergeRange overhead for local dictionary filtering
Gabriel39 81a5187
[opt](scan) Compact dictionary survivors in place
Gabriel39 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
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.
[P2] Preserve filtered-reader progress before budgeting
A late RF is now moved below Scanner for an active split.
JniTableReader::get_block()loops when it rejects a Java batch, and once Parquet activates a queued refreshed request at a row-group boundary,ParquetScanScheduler::read_next_batch()likewise loops and widens zero-survivor predicate batches. Neither path returns or publishes the rejected batch's pre-filter shape, so this fallback sees only a survivor or EOF and Scanner's row/byte budget can be bypassed while the remaining split is drained. Please make each predicate-owning reader publish and yield bounded pre-filter progress, including zero-survivor batches.