Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Fix unique key missing problem with search #232

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

ruxuez
Copy link
Contributor

@ruxuez ruxuez commented Jan 19, 2024

When creating embeddings, we store the unique key attnum in pg_options.
Previously, the unique key attnum was taken from the original table, so the error occurs if the
embedding table and the original table have a different number or order of columns.
This patch saves the unique key attnum from the embedding table instead.

@ruxuez ruxuez merged commit 9124f25 into main Jan 31, 2024
7 checks passed
@ruxuez ruxuez deleted the fix_emb_unique_key branch January 31, 2024 03:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants