docs(bigquery/bigframes): add table_insert_rows code sample - #14506
docs(bigquery/bigframes): add table_insert_rows code sample#14506shuoweil wants to merge 1 commit into
Conversation
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
32c948a to
022f565
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces a new sample script table_insert_rows.py for appending rows to a BigQuery table using BigQuery DataFrames, along with its corresponding test and a dynamic dataset fixture in conftest.py. The review feedback recommends utilizing the existing location fixture in conftest.py instead of hardcoding the location, and enhancing the test to verify that the data is successfully written to BigQuery by reading it back.
8ed540c to
418dff5
Compare
418dff5 to
1f087d7
Compare
|
Will check in the code change in Git-on-Borg. |
Description
Fixes b/546157676 (Subtask of b/522898394)
Adds a BigQuery DataFrames (
bigframes) code sample for inserting/appending rows into a BigQuery table, targeting the high-traffic documentation pagebigquery-table-insert-rows.Summary of Changes
bigquery/bigframes/table_insert_rows.pydemonstrating how to append rows to a BigQuery table viadf.to_gbq(table_id, if_exists="append").