Skip to content

Commit

Permalink
examples/bigquery: update WriteDisposition field
Browse files Browse the repository at this point in the history
Rename to match change in bigquery.Table.

Change-Id: Iad7574f6d81bf4c04287b2f9fe8d7aeb01615603
Reviewed-on: https://code-review.googlesource.com/8410
Reviewed-by: Michael Darakananda <pongad@google.com>
  • Loading branch information
jba committed Oct 13, 2016
1 parent 2912d48 commit 139d2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bigquery/load/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func main() {

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

if err != nil {
Expand Down

0 comments on commit 139d2e0

Please sign in to comment.