Skip to content

docs(bigquery): update load_table_dataframe code sample to use BigFrames - #18036

Closed
shuoweil wants to merge 2 commits into
mainfrom
shuowei-fix-client-info-metadat-test
Closed

docs(bigquery): update load_table_dataframe code sample to use BigFrames#18036
shuoweil wants to merge 2 commits into
mainfrom
shuowei-fix-client-info-metadat-test

Conversation

@shuoweil

@shuoweil shuoweil commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Updates the bigquery_load_table_dataframe code sample (which powers cloud.google.com/bigquery/docs/samples/bigquery-load-table-dataframe) to use BigQuery DataFrames (bigframes) instead of the legacy client.load_table_from_dataframe API.

Fixes #<522898394> 🦕

@shuoweil shuoweil self-assigned this Aug 8, 2026
@shuoweil
shuoweil requested review from a team as code owners August 8, 2026 00:26
@shuoweil
shuoweil requested review from sycai and removed request for a team and sycai August 8, 2026 00:26
@shuoweil
shuoweil marked this pull request as draft August 8, 2026 00:27

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

Copy link
Copy Markdown
Contributor

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 refactors the test_init_default_client_info unit test in test_read_client_v1.py to mock wrap_method and verify that the client info is correctly passed and formatted. Feedback was provided to rename the local variable client_info to avoid shadowing the imported module of the same name.

Comment thread packages/google-cloud-bigquery-storage/tests/unit/test_read_client_v1.py Outdated
…ient_v1.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@shuoweil shuoweil closed this Aug 10, 2026
@shuoweil

Copy link
Copy Markdown
Contributor Author

This fix has been merged in #17938

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

Labels

None yet

1 participant