feat: add deprecation warnings for .blob accessor and read_gbq_object_table#2408
Merged
feat: add deprecation warnings for .blob accessor and read_gbq_object_table#2408
Conversation
GarrettWu
reviewed
Jan 27, 2026
bigframes/session/__init__.py
Outdated
| Result BigFrames DataFrame. | ||
| """ | ||
| warnings.warn( | ||
| "read_gbq_object_table is deprecated and will be removed in a future release.", |
Contributor
There was a problem hiding this comment.
use read_gbq with "ref" column instead.
b/478950476
Contributor
Author
There was a problem hiding this comment.
Done. Updated the warning message to suggest using read_gbq with the 'ref' column.
bigframes/series.py
Outdated
| Accessor for Blob operations. | ||
| """ | ||
| warnings.warn( | ||
| "The blob accessor is deprecated and will be removed in a future release.", |
Contributor
There was a problem hiding this comment.
Use bigframes.bigquery.obj functions instead.
Contributor
Author
There was a problem hiding this comment.
Done. Updated the warning message to point to bigframes.bigquery.obj functions.
GarrettWu
approved these changes
Jan 27, 2026
shuoweil
added a commit
that referenced
this pull request
Feb 3, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e7cc6823efb073a8a26e7cefdd869f12ec228abfbd2a44aa9a7eacc284023677 <details><summary>bigframes: 2.34.0</summary> ## [2.34.0](v2.33.0...v2.34.0) (2026-02-02) ### Features * add `bigframes.pandas.options.experiments.sql_compiler` for switching the backend compiler (#2417) ([7eba6ee](7eba6ee)) * add bigquery.ml.generate_embedding function (#2422) ([35f3f5e](35f3f5e)) * add bigquery.create_external_table method (#2415) ([76db295](76db295)) * add deprecation warnings for .blob accessor and read_gbq_object_table (#2408) ([7261a4e](7261a4e)) * add bigquery.ml.generate_text function (#2403) ([5ac6810](5ac6810)) ### Bug Fixes * broken job url (#2411) ([fcb5bc1](fcb5bc1))
shuoweil
added a commit
that referenced
this pull request
Feb 4, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:e7cc6823efb073a8a26e7cefdd869f12ec228abfbd2a44aa9a7eacc284023677 <details><summary>bigframes: 2.34.0</summary> ## [2.34.0](v2.33.0...v2.34.0) (2026-02-02) ### Features * add `bigframes.pandas.options.experiments.sql_compiler` for switching the backend compiler (#2417) ([7eba6ee](7eba6ee)) * add bigquery.ml.generate_embedding function (#2422) ([35f3f5e](35f3f5e)) * add bigquery.create_external_table method (#2415) ([76db295](76db295)) * add deprecation warnings for .blob accessor and read_gbq_object_table (#2408) ([7261a4e](7261a4e)) * add bigquery.ml.generate_text function (#2403) ([5ac6810](5ac6810)) ### Bug Fixes * broken job url (#2411) ([fcb5bc1](fcb5bc1))
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.
This PR introduces ApiDeprecationWarning (which inherits from FutureWarning) to the following APIs to notify users of their
upcoming removal in a future release:
Series.blobaccessor: Added a warning to the property getter in bigframes/series.py.read_gbq_object_table: Added a warning to the implementation in bigframes/session/Session. This will also trigger when called via bigframes.pandas.read_gbq_object_table.Fixes #<478952368> 🦕