Skip to content

feat(ivfflat): add INCLUDE column support for IVF indexes#24168

Open
iamlinjunhong wants to merge 32 commits into
matrixorigin:mainfrom
iamlinjunhong:m-ivf-incl-col
Open

feat(ivfflat): add INCLUDE column support for IVF indexes#24168
iamlinjunhong wants to merge 32 commits into
matrixorigin:mainfrom
iamlinjunhong:m-ivf-incl-col

Conversation

@iamlinjunhong

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #24167

What this PR does / why we need it:

Add INCLUDE column support across IVF DDL, entries-table maintenance, planner rewrites, and ivf_search so covered vector queries can push include predicates and avoid base-table joins when mode=include.

Keep mode=post and mode=pre on their original single-round path, switch mode=include fallback from cumulative bucket expansion to non-overlapping bucket slices, reset per-input search round state, and collapse EXPLAIN ANALYZE background ivf_search plans by default while keeping capped verbose expansion.

Add parser, planner, ALTER, explain, unit, and distributed SQL coverage for the new INCLUDE behavior.

@matrix-meow matrix-meow added the size/XXL Denotes a PR that changes 2000+ lines label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes [1000, 1999] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants