breaking change to bigquery

20 views
Skip to first unread message

Jonathan Amsterdam

unread,
Aug 7, 2017, 7:02:48 PM8/7/17
to google-api-...@googlegroups.com
The Table.Update method now takes a third argument, an ETag.

Pass in the empty string to get the old behavior: the table's metadata is unconditionally changed.

If you're doing a read-modify-write, pass the ETag field from the TableMetadata you read. Then the Update will fail if the metadata has been modified since your read.  See the new example for details.

By the way, we've also added a Dataset.Update method.
Reply all
Reply to author
Forward
0 new messages