test(spannersql): add semantic search integration tests and docs#2889
test(spannersql): add semantic search integration tests and docs#2889duwenxin99 wants to merge 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces integration tests for Spanner semantic search by adding logic to create a temporary vector table and configure the semantic search tool. Feedback was provided to enhance the test's realism and performance by creating a vector index on the embedding column and utilizing the ANN_SEARCH function for more idiomatic query execution.
|
🚀 Cloudflare Preview Ready! 🔎 View Preview: https://pr-2889.toolbox-docs-6xc.pages.dev (Note: Subsequent pushes to this PR will automatically update the preview at this same URL) |
There was a problem hiding this comment.
Can we test against both googlesql and postgresql sources?
TanmayVartak
left a comment
There was a problem hiding this comment.
There are unrelated formatting changes. Spanner related code LGTM
Part of #2415