GeezerVison is showing github.com — [Breaking Change] Remove `google.cloud.bigquery_v2` directory and related code generation · Issue #814 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
[Breaking Change] Remove google.cloud.bigquery_v2 directory and related code generation #814
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.semver: majorHint for users that this is an API breaking change.type: processA process-related concern. May include testing, release, or the like. Description
The google.cloud.bigquery_v2 modules are frequently out-of-date. This primarily affect the usability of BigQuery ML.
Since BigQuery is a REST API, protobuf changes must be synced manually in internal code repo before they can be published to https://github.com/googleapis/googleapis
In the years since we first introduced google.cloud.bigquery_v2, we've seen that BigQuery ML adds model stats and model types much more frequently than the protobuf changes are actually published.
We've worked around this by:
Solution
- Remove
google.cloud.bigquery_v2 modules
- Update owlbot config to stop generating "client"
- In the BigQuery ML classes, whereever we were returning protobuf object, return the JSON-parsed API response, instead.
- Complex types become dictionaries.
- Enums become strings.
- In the routines logic, create manual wrappers and enums where needed.
Supersedes #319
Activity
added a commit that references this issue
on Sep 27, 2021This issue will close once commit a7842b6 is merged into the 'main' branch.a7842b6 plamut commented on Oct 1, 2021
Done in #855. The issue was probably not closed automatically, because the PR was merged into the v3 branch.
Metadata
Metadata
api: bigqueryIssues related to the googleapis/python-bigquery API.semver: majorHint for users that this is an API breaking change.type: processA process-related concern. May include testing, release, or the like. Development
No branches or pull requestsIssue actions