Skip to content

Commit 139d2e0

Browse files
committed
examples/bigquery: update WriteDisposition field
Rename to match change in bigquery.Table. Change-Id: Iad7574f6d81bf4c04287b2f9fe8d7aeb01615603 Reviewed-on: https://code-review.googlesource.com/8410 Reviewed-by: Michael Darakananda <[email protected]>
1 parent 2912d48 commit 139d2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/bigquery/load/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func main() {
6666

6767
// Load data from Google Cloud Storage into a BigQuery table.
6868
loader := table.LoaderFrom(gcs)
69-
loader.TableWriteDisposition = bigquery.WriteTruncate
69+
loader.WriteDisposition = bigquery.WriteTruncate
7070
job, err := loader.Run(ctx)
7171

7272
if err != nil {

0 commit comments

Comments
 (0)