Skip to content

fix: include location parameter in getQueryResults API request - #90

Merged
RobsonCDToledo merged 2 commits into
bstruct:mainfrom
RobsonCDToledo:fix-grid-render-location-out-US
Apr 6, 2026
Merged

fix: include location parameter in getQueryResults API request#90
RobsonCDToledo merged 2 commits into
bstruct:mainfrom
RobsonCDToledo:fix-grid-render-location-out-US

Conversation

@RobsonCDToledo

@RobsonCDToledo RobsonCDToledo commented Mar 23, 2026

Copy link
Copy Markdown
Collaborator

Jobs created outside the default US region were returning a 404 because
the getQueryResults URL was built without the location query parameter.

  • Added location: Option<String> field to GetQueryResultsRequest
  • URL builder now appends &location=<value> when the field is present
  • as_query_results_request() now passes the job's location from the element state

Ref: https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults

@RobsonCDToledo
RobsonCDToledo merged commit d544cfc into bstruct:main Apr 6, 2026
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