Skip to content

fix(bigquery): default Arrow pagination stream location to US instead of global - #14458

Open
jinseopkim0 wants to merge 2 commits into
mainfrom
fix-bigquery-arrow-stream-default-location
Open

jinseopkim0 wants to merge 2 commits into
mainfrom
fix-bigquery-arrow-stream-default-location

Conversation

@jinseopkim0

@jinseopkim0 jinseopkim0 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

When both jobId and BigQueryOptions locations are unspecified, default the Storage Read API stream resource location in ArrowQueryPageFetcher to US instead of global to prevent 404 errors.

From https://docs.cloud.google.com/bigquery/docs/locations#default_location:

If the location isn't explicitly specified, and it can't be determined from the resources in the request, the default location is used. If default location isn't set, the job runs in the US multi-region.

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

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.

Code Review

This pull request updates the default fallback location from "global" to "US" in BigQueryImpl when resolving job locations for the Storage Read API stream resource name. It also updates the corresponding unit test in ArrowQueryPageFetcherTest to assert the new default location and adjusts the test batch size. There are no review comments, and I have no feedback to provide.

@jinseopkim0
jinseopkim0 force-pushed the fix-bigquery-arrow-stream-default-location branch from ad3c14d to aa9c44c Compare September 21, 2026 16:40
@jinseopkim0
jinseopkim0 marked this pull request as ready for review September 21, 2026 16:41
@jinseopkim0
jinseopkim0 requested review from a team as code owners September 21, 2026 16:41
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.

1 participant