Skip to content

PS-11203 Vector Index Syntax#5987

Open
percona-mhansson wants to merge 2 commits into
percona:vector-mvpfrom
percona-mhansson:vector-mvp-syntax
Open

PS-11203 Vector Index Syntax#5987
percona-mhansson wants to merge 2 commits into
percona:vector-mvpfrom
percona-mhansson:vector-mvp-syntax

Conversation

@percona-mhansson
Copy link
Copy Markdown
Contributor

Vector syntax PR. The first commit is just a cherry-picked minimum of changes from the prototype branch to make the whole vector meta data exist.

@percona-mhansson percona-mhansson changed the title Vector mvp syntax PS-11203 Vector Index Syntax May 29, 2026
can test the syntax.

The code was cherry-picked from the vector search prototype branch.
are no hooks for this in InnoDB so one has been added in check_engine().
We have to do it fairly early so that table creation in the DD can be
nipped in the bud.

The string is validated (i.e. parsed) inside the storage engine using
a new interface
validate_engine_attributes().

Options are parsed again in ha_innobase::open(), which is sligthly
wasteful, but likely not a big deal compared to actually building
the index.

To do:
We will still need a hook to handle the case of an already-existing
table with invalid SECONDARY_ENGINE_ATTRIBUTE; there are no hooks
for this.
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