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

Commit4692747

Browse files
authored
feat: add WRITE_TRUNCATE_DATA enum (#2166)
This PR documents the new WRITE_TRUNCATE_DATA write disposition by adding the enum value.internal issue: b/406848221
1 parentb7656b9 commit4692747

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎google/cloud/bigquery/enums.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ class WriteDisposition(object):
338338
WRITE_TRUNCATE="WRITE_TRUNCATE"
339339
"""If the table already exists, BigQuery overwrites the table data."""
340340

341+
WRITE_TRUNCATE_DATA="WRITE_TRUNCATE_DATA"
342+
"""For existing tables, truncate data but preserve existing schema
343+
and constraints."""
344+
341345
WRITE_EMPTY="WRITE_EMPTY"
342346
"""If the table already exists and contains data, a 'duplicate' error is
343347
returned in the job result."""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp