Repository navigation
chore(bigquery): require bigquery-storage >= 6.3.0 for Arrow - #9675
Merged
Merged
Conversation
@google-cloud/bigquery-storage 6.3.0 is the first release that depends on @google-cloud/bigquery-storage-api ^0.5.0, whose ReadRowsRequest carries arrowSerializationOptions. Raise the peer, dev, and runtime minimums and drop the TODO that tracked this release.
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the minimum required version of the optional @google-cloud/bigquery-storage dependency from 6.1.0 to 6.3.0 across package.json, source files, and test suites. The TODO comment regarding this version bump has also been removed. I have no feedback to provide.
shivanee-p
approved these changes
Oct 20, 2026
ohmayr
added a commit
that referenced
this pull request
Oct 21, 2026
…Stream (#9603) Callers need to choose the timestamp precision of Arrow results (for example picoseconds for `TIMESTAMP(12)` columns), and the choice has to be the same on every page. This adds `arrowSerializationOptions` to `ArrowQuery` and exports the `ArrowSerializationOptions` type, both marked beta. - Defaults `picosTimestampPrecision` to `TIMESTAMP_PRECISION_MICROS` and sends the same value on `jobs.query`, on `ReadRows` for `streams/_default` (including resumed streams), and in `readOptions` on `CreateReadSession`. It's kept out of `jobs.insert`. - Rejects `LZ4_FRAME` and `ZSTD` `bufferCompression`, since `apache-arrow` doesn't bundle those codecs. - Requires `@google-cloud/bigquery-storage` >= 6.3.0 (already enforced on `main` by #9675), whose `ReadRowsRequest` carries `arrowSerializationOptions`, so no extra version check is needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context & Problem
createQueryArrowStream()requires@google-cloud/bigquery-storage>= 6.1.0, but 6.1.0 and 6.2.0 depend on@google-cloud/bigquery-storage-api^0.3.0, whoseReadRowsRequesthas noarrowSerializationOptionsfield. A TODO tracked raising the minimum once a release picked upbigquery-storage-api^0.5.0. 6.3.0 is that release.Summary of Changes
src/arrow.ts:checkArrowDependencies()requires@google-cloud/bigquery-storage>= 6.3.0, and the TODO is removed.package.json: the optional peer dependency and the dev dependency are^6.3.0.src/bigquery.ts: thecreateQueryArrowStream()docs state the new minimum.test/arrow.ts: the version-check tests accept 6.3.0 and reject 6.2.0, the last release onbigquery-storage-api^0.3.0.pnpm-lock.yaml:handwritten/bigqueryresolves@google-cloud/bigquery-storage6.3.0 and@google-cloud/bigquery-storage-api0.5.0.Verification
pnpm testinhandwritten/bigquery: 550 passing, 4 pending.checkArrowDependencies()accepts the installed@google-cloud/bigquery-storage6.3.0.GIT_DIFF_ARG=origin/main node ./bin/linter.mjs --strict: no errors.