Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql/rowexec: implement vector search operators in the row engine #141897

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DrewKimball
Copy link
Collaborator

sql: make vecindex.Manager available through ServerConfig

This commit adds and populates a VecIndexManager field in
execinfra.ServerConfig. This will be used by vector search execution
operators in a later commit.

Epic: CRDB-42943

Release note: None

sql/rowexec: implement vector search operators

This commit implements the VectorSearch and VectorMutationSearch
operators in the row engine. This required adding two new methods to
the persistent store - WrapTxn to get a vecstore.Txn from an open
SQL transaction, and QuantizeAndEncode to quantize and encode vectors
for put operations.

Epic: CRDB-42943

Release note: None

This commit adds and populates a `VecIndexManager` field in
`execinfra.ServerConfig`. This will be used by vector search execution
operators in a later commit.

Epic: CRDB-42943

Release note: None
This commit implements the `VectorSearch` and `VectorMutationSearch`
operators in the row engine. This required adding two new methods to
the persistent store - `WrapTxn` to get a `vecstore.Txn` from an open
SQL transaction, and `QuantizeAndEncode` to quantize and encode vectors
for put operations.

Epic: CRDB-42943

Release note: None
@DrewKimball DrewKimball requested review from mw5h and a team February 23, 2025 00:29
@DrewKimball DrewKimball requested a review from a team as a code owner February 23, 2025 00:29
Copy link

blathers-crl bot commented Feb 23, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

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.

2 participants