lance-format / lance-format/lance
Support multiple indexes per column
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
General parent issue tracking this work. We probably want the following changes:
- Remove currently validation of one index per column
- When creating indexes without an explicit name, the default name should be specific to the index type instead of being
col + "_idx" - Update planner to choose index to use based on query type
- Allow user to choose in scanner which index to use
- Add unit test coverage that we can create multiple indexes per column and queries run correctly against the right index
cc @Jay-ju
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the planner and scanner entry points involved in index selection, then locate the validation and default index-name logic. Review existing index unit tests and extend coverage for multiple indexes on one column, query-specific selection, and scanner choice; done means the listed behaviors work correctly together.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100