Skip to content

fix: include location parameter in getQueryResults API request#90

Open
RobsonCDToledo wants to merge 2 commits intobstruct:mainfrom
RobsonCDToledo:fix-grid-render-location-out-US
Open

fix: include location parameter in getQueryResults API request#90
RobsonCDToledo wants to merge 2 commits intobstruct:mainfrom
RobsonCDToledo:fix-grid-render-location-out-US

Conversation

@RobsonCDToledo
Copy link
Copy Markdown
Collaborator

@RobsonCDToledo RobsonCDToledo commented Mar 23, 2026

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

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