Skip to content

test(spannersql): add semantic search integration tests and docs#2889

Open
duwenxin99 wants to merge 3 commits intomainfrom
feat/spanner-semantic-search
Open

test(spannersql): add semantic search integration tests and docs#2889
duwenxin99 wants to merge 3 commits intomainfrom
feat/spanner-semantic-search

Conversation

@duwenxin99
Copy link
Copy Markdown
Contributor

@duwenxin99 duwenxin99 commented Mar 30, 2026

Part of #2415

@duwenxin99 duwenxin99 requested review from a team as code owners March 30, 2026 01:51
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@duwenxin99 duwenxin99 changed the title feat(source/spanner): add semantic search integration tests test(source/spanner): add semantic search integration tests Mar 30, 2026
@duwenxin99 duwenxin99 mentioned this pull request Mar 30, 2026
1 task
@duwenxin99 duwenxin99 linked an issue Mar 30, 2026 that may be closed by this pull request
1 task
@duwenxin99 duwenxin99 removed a link to an issue Mar 30, 2026
1 task
@github-actions
Copy link
Copy Markdown
Contributor

🚀 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)

@github-actions
Copy link
Copy Markdown
Contributor

@duwenxin99 duwenxin99 changed the title test(source/spanner): add semantic search integration tests test(tools/spanner): add semantic search integration tests and docs Mar 30, 2026
@duwenxin99 duwenxin99 changed the title test(tools/spanner): add semantic search integration tests and docs test(spanner): add semantic search integration tests and docs Mar 30, 2026
@duwenxin99 duwenxin99 changed the title test(spanner): add semantic search integration tests and docs test(spannersql): add semantic search integration tests and docs Mar 30, 2026
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test against both googlesql and postgresql sources?

Copy link
Copy Markdown

@TanmayVartak TanmayVartak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are unrelated formatting changes. Spanner related code LGTM

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.

4 participants