Skip to content

feat(bigquery-magics): deprecate --engine=bigframes, run %load_ext bigframes and use %%bqsql magics instead#16573

Merged
tswast merged 5 commits intomainfrom
b500399391-deprecate-bigframes-magics
Apr 8, 2026
Merged

feat(bigquery-magics): deprecate --engine=bigframes, run %load_ext bigframes and use %%bqsql magics instead#16573
tswast merged 5 commits intomainfrom
b500399391-deprecate-bigframes-magics

Conversation

@tswast
Copy link
Copy Markdown
Contributor

@tswast tswast commented Apr 7, 2026

Towards internal issue b/500399391 🦕

… bigframes` and use `%%bqsql` magics instead
@tswast tswast requested review from a team as code owners April 7, 2026 19:55
@tswast tswast requested a review from sycai April 7, 2026 19:55
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

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 deprecates the 'bigframes' execution engine in the bigquery-magics package, recommending the use of %load_ext bigframes and %%bqsql instead. The updates include adding deprecation notices to docstrings and help text, triggering FutureWarning during engine selection and query execution, and adding unit tests to verify these warnings. A review comment correctly identified a formatting issue where missing spaces in concatenated help strings would result in joined words in the output.

Comment thread packages/bigquery-magics/bigquery_magics/bigquery.py Outdated
tswast and others added 4 commits April 7, 2026 15:02
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…agics' into b500399391-deprecate-bigframes-magics
@sycai
Copy link
Copy Markdown
Contributor

sycai commented Apr 7, 2026

Thank you!

Copy link
Copy Markdown
Contributor

@daniel-sanche daniel-sanche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tswast tswast merged commit dbaf8f5 into main Apr 8, 2026
31 checks passed
@tswast tswast deleted the b500399391-deprecate-bigframes-magics branch April 8, 2026 20:47
daniel-sanche pushed a commit that referenced this pull request Apr 9, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.0.0-20260407211006-7cd74ea13ba9
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:234b9d1f2ddb057ed7ac6a38db0bf8163d839c65c6cf88ade52530cddebce59e
<details><summary>bigquery-magics: v0.13.0</summary>

##
[v0.13.0](bigquery-magics-v0.12.2...bigquery-magics-v0.13.0)
(2026-04-09)

### Features

* drop support for Python 3.9 (#16587)
([961eacd](961eacd0))

* deprecate `--engine=bigframes`, run `%load_ext bigframes` and use
`%%bqsql` magics instead (#16573)
([dbaf8f5](dbaf8f54))

</details>


<details><summary>google-api-core: v2.30.3</summary>

##
[v2.30.3](google-api-core-v2.30.2...google-api-core-v2.30.3)
(2026-04-09)

### Bug Fixes

* avoid repeated scan of entire venv via packages_distributions() at
import time (#16579)
([c5728b2](c5728b24))

</details>


<details><summary>google-apps-chat: v0.8.0</summary>

##
[v0.8.0](google-apps-chat-v0.7.0...google-apps-chat-v0.8.0)
(2026-04-09)

### Features

* Addition of Section and SectionItem APIs (PiperOrigin-RevId:
893488928)
([56ccbd8](56ccbd86))

* Support app authentication with admin-consent scopes for Chat API
ListMessages, GetMessage, GetSpaceEvent and ListSpaceEvents
(PiperOrigin-RevId: 893619899)
([56ccbd8](56ccbd86))

### Documentation

* Update reference documentation for Chat API ListMessages, GetMessage,
GetSpaceEvent and ListSpaceEvents. (PiperOrigin-RevId: 893619899)
([56ccbd8](56ccbd86))

</details>


<details><summary>google-auth: v2.49.2</summary>

##
[v2.49.2](google-auth-v2.49.1...google-auth-v2.49.2)
(2026-04-09)

### Bug Fixes

* use requests transport for GCE MDS (#16480)
([614a3d0](614a3d04))

</details>


<details><summary>google-cloud-appoptimize: v0.1.0</summary>

##
[v0.1.0](google-cloud-appoptimize-v0.0.0...google-cloud-appoptimize-v0.1.0)
(2026-04-09)

### Features

* onboard a new library (PiperOrigin-RevId: 895558469)
([8e92bae](8e92bae8))

</details>


<details><summary>google-cloud-dlp: v3.36.0</summary>

##
[v3.36.0](google-cloud-dlp-v3.35.0...google-cloud-dlp-v3.36.0)
(2026-04-09)

### Features

* added support for detecting key-value pairs in client provided
metadata (PiperOrigin-RevId: 895098649)
([56ccbd8](56ccbd86))

</details>


<details><summary>google-cloud-iamconnectorcredentials: v0.1.0</summary>

##
[v0.1.0](google-cloud-iamconnectorcredentials-v0.0.0...google-cloud-iamconnectorcredentials-v0.1.0)
(2026-04-09)

### Features

* onboard a new library (PiperOrigin-RevId: 889980347)
([2a3458c](2a3458c8))

</details>


<details><summary>google-cloud-pubsub: v2.37.0</summary>

##
[v2.37.0](google-cloud-pubsub-v2.36.0...google-cloud-pubsub-v2.37.0)
(2026-04-09)

### Documentation

* Fix documentation URL AIInference MessageTransform
service_account_email field (PiperOrigin-RevId: 895485801)
([56ccbd8](56ccbd86))

</details>


<details><summary>google-cloud-translate: v3.26.0</summary>

##
[v3.26.0](google-cloud-translate-v3.25.0...google-cloud-translate-v3.26.0)
(2026-04-09)

### Features

* A new field `mime_type` is added to message
`.google.cloud.translation.v3.AdaptiveMtTranslateRequest`
(PiperOrigin-RevId: 895422613)
([56ccbd8](56ccbd86))

</details>


<details><summary>pandas-gbq: v0.35.0</summary>

##
[v0.35.0](pandas-gbq-v0.34.1...pandas-gbq-v0.35.0)
(2026-04-09)

### Features

* drop support for Python 3.9 (#16476)
([f38cd44](f38cd44b))

</details>
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.

3 participants