Repository navigation
[core] Prune manifests before resolving scalar range overflow - #11477
Draft
JingsongLi wants to merge 10 commits into
Draft
JingsongLi wants to merge 10 commits into
JingsongLi wants to merge 10 commits into
Conversation
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.
Purpose
Move file-group pruning ahead of manifest entry merge for FULL and DETAIL overflow. Group by actual ADD row-ID ranges in selected mixed manifests, retain the DELETE entries that can affect the selected groups, and reuse the loaded mixed entries. This reduces manifest I/O while preserving the file groups selected by the previous stage.
This cumulative draft is stage 4 of 4 and builds on the preceding stage. preceding draft #11476
Review this stage in its incremental commit. incremental commit
1778102ffe· original PR #11429Tests
376 focused JDK 8 tests and the configuration documentation completeness check passed, including Parquet and Lance with BTree and Bitmap. In the same FULL Bitmap fixture, both stages planned the same data file. Manifest opens fell from 1,026 to 4, and planning time fell from 12.11 s to 118.2 ms. The fixture uses 100,001 disjoint ranges, a cap of 100,000, four scan threads, and a simulated delay of 42 ms per local manifest open.