Skip to content

fix(bigquery): require bqstorage 2.43.0 - #18780

Merged
ohmayr merged 2 commits into
mainfrom
fix/bigquery-arrow-storage-version-hint
Oct 20, 2026
Merged

ohmayr merged 2 commits into
mainfrom
fix/bigquery-arrow-storage-version-hint

Conversation

@ohmayr

@ohmayr ohmayr commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Raises the bqstorage extra to google-cloud-bigquery-storage 2.43.0, the first release with ReadRowsStream.cancel(), which Arrow results need. Before, the extra allowed 2.29.0, so pip install google-cloud-bigquery[bqstorage] could install a version that fails when running an Arrow query.

  • Raises the bqstorage extra and testing/constraints-3.10.txt to 2.43.0.
  • Points the Arrow dependency error at pip install "google-cloud-bigquery[bqstorage]".
  • Updates the unit test for the new pip install command.

@ohmayr
ohmayr requested review from a team as code owners October 20, 2026 17:17
@ohmayr
ohmayr requested review from sycai and removed request for a team October 20, 2026 17:17

@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 minimum required version of google-cloud-bigquery-storage to 2.43.0 when using ARROW query results format. It updates the error messages, docstrings, and unit tests to explicitly mention this version requirement and provides a clearer pip upgrade command. I have no feedback to provide as there are no review comments to evaluate.

@ohmayr
ohmayr force-pushed the fix/bigquery-arrow-storage-version-hint branch 2 times, most recently from c9ae55e to 1a183c3 Compare October 20, 2026 17:44
@ohmayr ohmayr changed the title fix(bigquery): name required bqstorage version fix(bigquery): require bqstorage 2.43.0 Oct 20, 2026
ARROW query results need ReadRowsStream.cancel(), first released in
google-cloud-bigquery-storage 2.43.0, but the bqstorage extra still
allowed 2.29.0. Installing google-cloud-bigquery[bqstorage] could leave
callers with a version that fails at query time.

Raise the bqstorage extra and the 3.10 constraints to 2.43.0, and point
the ARROW dependency error at the extra, so the version is only set in
pyproject.toml.
@ohmayr
ohmayr force-pushed the fix/bigquery-arrow-storage-version-hint branch from 1a183c3 to 72503c2 Compare October 20, 2026 18:57
Comment thread packages/google-cloud-bigquery/google/cloud/bigquery/_arrow_query.py Outdated
pip already upgrades google-cloud-bigquery-storage when the installed
version doesn't meet the bqstorage extra's floor. --upgrade would also
upgrade google-cloud-bigquery itself, which the error doesn't ask for.
@ohmayr
ohmayr merged commit 3cd40ce into main Oct 20, 2026
54 checks passed
@ohmayr
ohmayr deleted the fix/bigquery-arrow-storage-version-hint branch October 20, 2026 20:13
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