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

Commit0f08e9a

Browse files
aribrayparthea
andauthored
docs: add info about streaming quota limits toinsert_rows* methods (#1409)
* docs: add information about streaming quota limits (413: Payload Too Large)Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent4e6cc67 commit0f08e9a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎google/cloud/bigquery/client.py‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3358,6 +3358,14 @@ def insert_rows(
33583358
See
33593359
https://cloud.google.com/bigquery/docs/reference/rest/v2/tabledata/insertAll
33603360
3361+
BigQuery will reject insertAll payloads that exceed a defined limit (10MB).
3362+
Additionally, if a payload vastly exceeds this limit, the request is rejected
3363+
by the intermediate architecture, which returns a 413 (Payload Too Large) status code.
3364+
3365+
3366+
See
3367+
https://cloud.google.com/bigquery/quotas#streaming_inserts
3368+
33613369
Args:
33623370
table (Union[\
33633371
google.cloud.bigquery.table.Table,\
@@ -3424,6 +3432,13 @@ def insert_rows_from_dataframe(
34243432
)->Sequence[Sequence[dict]]:
34253433
"""Insert rows into a table from a dataframe via the streaming API.
34263434
3435+
BigQuery will reject insertAll payloads that exceed a defined limit (10MB).
3436+
Additionally, if a payload vastly exceeds this limit, the request is rejected
3437+
by the intermediate architecture, which returns a 413 (Payload Too Large) status code.
3438+
3439+
See
3440+
https://cloud.google.com/bigquery/quotas#streaming_inserts
3441+
34273442
Args:
34283443
table (Union[\
34293444
google.cloud.bigquery.table.Table,\
@@ -3485,6 +3500,13 @@ def insert_rows_json(
34853500
See
34863501
https://cloud.google.com/bigquery/docs/reference/rest/v2/tabledata/insertAll
34873502
3503+
BigQuery will reject insertAll payloads that exceed a defined limit (10MB).
3504+
Additionally, if a payload vastly exceeds this limit, the request is rejected
3505+
by the intermediate architecture, which returns a 413 (Payload Too Large) status code.
3506+
3507+
See
3508+
https://cloud.google.com/bigquery/quotas#streaming_inserts
3509+
34883510
Args:
34893511
table (Union[\
34903512
google.cloud.bigquery.table.Table\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp