Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Breaking Change] Removegoogle.cloud.bigquery_v2 directory and related code generation #814

Closed
Assignees
plamut
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.
@tswast

Description

@tswast

Thegoogle.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 tohttps://github.com/googleapis/googleapis

In the years since we first introducedgoogle.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

  • Removegoogle.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

Metadata

Metadata

Assignees

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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp