File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -288,10 +288,14 @@ const (
288
288
// Data is appended atomically on successful completion of a job.
289
289
WriteAppend TableWriteDisposition = "WRITE_APPEND"
290
290
291
- // WriteTruncate overrides the existing data in the destination table.
291
+ // WriteTruncate overwrites the existing data in the destination table.
292
292
// Data is overwritten atomically on successful completion of a job.
293
293
WriteTruncate TableWriteDisposition = "WRITE_TRUNCATE"
294
294
295
+ // WriteTruncateData overwrites the data, but keeps the constraints and
296
+ // reuses the schema for an existing table.
297
+ WriteTruncateData TableWriteDisposition = "WRITE_TRUNCATE_DATA"
298
+
295
299
// WriteEmpty fails writes if the destination table already contains data.
296
300
WriteEmpty TableWriteDisposition = "WRITE_EMPTY"
297
301
)
You can’t perform that action at this time.
0 commit comments