Skip to content

Conversation

@hamersaw
Copy link
Contributor

No description provided.

LuQQiu and others added 5 commits January 29, 2026 14:23
- Add FilteredReadPlan struct using RowAddrTreeMap for row selection
- Add get_or_create_plan API for lazy plan computation via OnceCell
- Support providing pre-computed plan to FilteredReadExec::try_new
- Centralize plan creation in get_or_create_plan_impl
- Make RowAddrSelection public in lance-core
- Add FilteredReadInternalPlan (private) using BTreeMap<u32, Vec<Range<u64>>>
  for efficient local execution without bitmap conversion
- Keep FilteredReadPlan (public) using RowAddrTreeMap for distributed execution
- Local path: plan_scan() → internal plan → ScopedFragmentRead (zero conversions)
- External API: get_or_create_plan() converts internal → external once
- with_plan() converts external → internal for distributed workers
- Add bitmap_to_ranges() utility in lance-core for efficient bitmap conversion
- Use BTreeMap for rows to maintain deterministic fragment order

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
@github-actions github-actions bot added the enhancement New feature or request label Jan 30, 2026
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

❌ Patch coverage is 20.96070% with 181 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance/src/dataset/scanner.rs 16.58% 179 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
…c implementations in the future

Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
@github-actions github-actions bot added the java label Feb 4, 2026
Signed-off-by: Daniel Rammer <hamersaw@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request java python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants