Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

merge_insert: support explain_plan/analyze_plan on the scalar-index path

Open
#9,864 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start with the can_use_create_plan check in MergeInsertJob and the explain_plan and analyze_plan* methods that return NotSupported when it is false. Then trace the scalar-index merge_insert execution path to see how its indexed probe and fragment column patching are built. Done means explain and analyze work on that path and tests cover it. This is a change to the execution-plan design, so confirm the approach with maintainers first.

Written by the indexing model from the issue text.

Description

MergeInsertJob::explain_plan / analyze_plan* return NotSupported when can_use_create_plan is false, including when the join takes the scalar-index execution path. That path is the one where cost is hardest to predict (indexed probe plus column patching of every touched fragment), which is the motivating case in lancedb/lancedb#4257.

Proposal: migrate the scalar-index merge_insert path to a single create_plan execution plan so explain/analyze work unconditionally.

Dominant language
Rust
Stars
7.2k
Forks
900
Avg merge
4d 22h
Merged PRs (30d)
366

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lance-format/lance

All issues in lance-format/lance

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.