Skip to content

Add queryresultmode per issue #1048 - #2183

Merged
joefernandez merged 4 commits into
mainfrom
zyantw-patch-13
Sep 19, 2026
Merged

joefernandez merged 4 commits into
mainfrom
zyantw-patch-13

Conversation

@zyantw

@zyantw zyantw commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

Staged link> https://deploy-preview-2183--adk-docs-preview.netlify.app/integrations/spanner/
Documents the new query_result_mode optional parameter in SpannerToolSettings, which configures the execute_sql tool to return database query results as a list of dictionaries.

Agent's PR: #1054 and #1055


Citations

Documents the new query_result_mode optional parameter in SpannerToolSettings, which configures the execute_sql tool to return database query results as a list of dictionaries.

@joefernandez joefernandez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

RISK REVIEW: Medium risk — one blocking accuracy issue. The new query_result_mode bullet is added to the SpannerVectorStoreSettings optional-parameter list, but the field lives on SpannerToolSettings, so following this doc silently does nothing. Details inline, plus a minor trailing-whitespace nit. No legal, security, privacy, cost, third-party, customer-naming, or internal-link exposure in this change.

Comment thread docs/integrations/spanner.md Outdated
Comment thread docs/integrations/spanner.md Outdated

@joefernandez joefernandez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

REVIEW CODE: Thanks for picking this up from #1048 — the feature is real and the description of DICT_LIST is accurate, but the bullet is attached to the wrong settings class. query_result_mode is a field of SpannerToolSettings, not SpannerVectorStoreSettings, and because both are plain Pydantic models (default extra="ignore"), a reader who follows this page will pass the argument, see no error, and silently not get the behavior described. Details inline, plus two smaller points (missing default/import, trailing whitespace).

Comment thread docs/integrations/spanner.md Outdated
Comment thread docs/integrations/spanner.md Outdated
Comment thread docs/integrations/spanner.md Outdated

@joefernandez joefernandez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Style review of the new query_result_mode entry. Two things: the parameter is documented under the wrong settings class, and the added lines have trailing whitespace plus phrasing that doesn't match the neighbouring bullets. Details inline.

Comment thread docs/integrations/spanner.md Outdated
Comment thread docs/integrations/spanner.md Outdated
Resolves comments and feedback.
@netlify

netlify Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 90aa980
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/6aade315782a4b000854f004
😎 Deploy Preview https://deploy-preview-2183--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@zyantw
zyantw requested a review from joefernandez September 18, 2026 20:16

@joefernandez joefernandez left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the update!

@joefernandez
joefernandez merged commit a97b3e5 into main Sep 19, 2026
10 of 12 checks passed
@joefernandez
joefernandez deleted the zyantw-patch-13 branch September 19, 2026 01:19
zyantw added a commit to zyantw/adk-docs that referenced this pull request Sep 24, 2026
* Add queryresultmode per issue google#1048

Documents the new query_result_mode optional parameter in SpannerToolSettings, which configures the execute_sql tool to return database query results as a list of dictionaries.

* Update spanner.md

Resolves comments and feedback.

* Update spanner.md

---------

Co-authored-by: Joe Fernandez <931947+joefernandez@users.noreply.github.com>
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