Skip to content

bigtable: Require google-cloud-bigtable>=2.42.0 and test Python BigtableIO write error surfacing - #39820

Open
mutianf wants to merge 1 commit into
apache:masterfrom
mutianf:bigtable-python-batcher-error-handling
Open

bigtable: Require google-cloud-bigtable>=2.42.0 and test Python BigtableIO write error surfacing#39820
mutianf wants to merge 1 commit into
apache:masterfrom
mutianf:bigtable-python-batcher-error-handling

Conversation

@mutianf

@mutianf mutianf commented Aug 19, 2026

Copy link
Copy Markdown
Contributor
  • Bump the minimum google-cloud-bigtable to >=2.42.0,<3. 2.42.0 improves MutationsBatcher error handling so that errors raised during async flushes are surfaced instead of swallowed.
  • Add _BigTableWriteFn write tests asserting that batch errors are surfaced (and thus fail the bundle, so the runner retries) from:
    • the async flush path,
    • the buffered-row flush at finish_bundle()/close(),
    • close() itself.
  • Add a user agent in the python client

Previously a batch-level failure during an asynchronous flush could be dropped without failing the bundle. Requiring 2.42.0 and adding these regression tests guards the error-surfacing behavior end-to-end through Beam.

Fix #39755

@mutianf
mutianf force-pushed the bigtable-python-batcher-error-handling branch from 18e9dec to 151f342 Compare August 19, 2026 16:19
google-cloud-bigtable 2.42.0 improves MutationsBatcher error handling so
that errors raised during async flushes are surfaced instead of being
swallowed. Bump the minimum version and add BigtableIO write tests that
assert batch errors are surfaced (and fail the bundle) from the async
flush path, the buffered-row flush at finish_bundle, and close() itself.
@mutianf
mutianf force-pushed the bigtable-python-batcher-error-handling branch from 151f342 to c50d361 Compare August 19, 2026 16:27
@github-actions github-actions Bot removed the bigtable label Aug 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @shunping for label python.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Bigtable Python SDK upgrade

1 participant