Repository navigation
[core] Bound scalar index ranges with an ordinary scan fallback - #11475
Draft
JingsongLi wants to merge 8 commits into
Draft
JingsongLi wants to merge 8 commits into
JingsongLi wants to merge 8 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
Add the opt-in
data-evolution.scalar-index.max-selection-rangestable option for eager scalar global index planning. When the combined candidate Bitmap exceeds the cap, plan ordinary data splits on the pinned snapshot and evaluate the original predicate as a residual filter. An unset value or zero leaves the cap disabled. In FAST mode, ordinary fallback can include matching rows outside index coverage.This cumulative draft is stage 2 of 4. It includes the preceding bounded Bitmap utilities and the indexed-split row range merge. preceding draft #11474 · indexed-split row range merge #11473
Review this stage in its incremental commit. incremental commit
96a9f53a55· original PR #11429Tests
121 tests passed on JDK 8 across
BtreeGlobalIndexTableTest,CompositeBTreeTableTest,DataEvolutionBatchScanTest, andGlobalIndexOptionsTest. They cover exact limits, the zero override, a pinned snapshot, FULL/DETAIL/FAST fallback, and FAST AND, OR, and composite BTree predicates.