v0.6.0
-
Beta release of BigQuery, DataStore, Logging and Storage. See the
blog post. -
bigquery:
-
struct support. Read a row directly into a struct with
RowIterator.Next, and upload a row directly from a struct withUploader.Put.
You can also use field tags. See the [package documentation][cloud-bigquery-ref]
for details. -
The
ValueListtype was removed. It is no longer necessary. Instead of
var v ValueList ... it.Next(&v) ..
use
var v []Value ... it.Next(&v) ...
-
Previously, repeatedly calling
RowIterator.Nexton the same[]Valueor
ValueListwould append to the slice. Now each call resets the size to zero first. -
Schema inference will infer the SQL type BYTES for a struct field of
type []byte. Previously it inferred STRING. -
The types
uint,uint64anduintptrare no longer supported in schema
inference. BigQuery's integer type is INT64, and those types may hold values
that are not correctly represented in a 64-bit signed integer.
-