Skip to content

[core] Add bounded and scoped bitmap range conversion - #11474

Open
JingsongLi wants to merge 6 commits into
apache:masterfrom
JingsongLi:codex/split-11429-bounded-bitmap
Open

JingsongLi wants to merge 6 commits into
apache:masterfrom
JingsongLi:codex/split-11429-bounded-bitmap

Conversation

@JingsongLi

Copy link
Copy Markdown
Contributor

Purpose

Add bounded conversion from a candidate Bitmap to contiguous row-ID ranges. The visitor stops when it reaches the first range beyond the cap and retains primitive endpoints while a selection fits. The API also supports a merged row-ID scope and batched range intersection for the planner's later file-group probe.

This cumulative draft is stage 1 of 4. It builds on the centroid Bitmap range visitor. centroid Bitmap visitor #11472

Review this stage in its incremental commit. incremental commit 2c812e6ba4 · original PR #11429

Tests

56 tests passed on JDK 8 across RoaringNavigableMap64Test, RowRangeIndexTest, and LazyFilteredBitmapIndexReaderTest. The tests cover exact limits, early termination, dense runs with fragmented suffixes, and scoped windows that cross bitmap boundaries.

@JingsongLi
JingsongLi marked this pull request as ready for review November 26, 2026 12:39
@JingsongLi
JingsongLi marked this pull request as draft November 26, 2026 12:40
@JingsongLi
JingsongLi marked this pull request as ready for review November 26, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant