feat: add WRITE_TRUNCATE_DATA as an enum value for write disposition … · googleapis/java-bigquery@acea61c (original) (raw)
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
File tree
- google-cloud-bigquery/src/main/java/com/google/cloud/bigquery
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -66,6 +66,12 @@ public enum WriteDisposition { | ||
| 66 | 66 | /** Configures the job to overwrite the table data if table already exists. */ |
| 67 | 67 | WRITE_TRUNCATE, |
| 68 | 68 | |
| 69 | +/** | |
| 70 | + * Configures the job to retain schema and constraints on an existing table, and truncate and | |
| 71 | + * replace data. | |
| 72 | + */ | |
| 73 | +WRITE_TRUNCATE_DATA, | |
| 74 | + | |
| 69 | 75 | /** Configures the job to append data to the table if it already exists. */ |
| 70 | 76 | WRITE_APPEND, |
| 71 | 77 |