Skip to content

v0.6.0

Choose a tag to compare

@jeanbza jeanbza released this 08 Aug 17:47
  • 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 with Uploader.Put.
      You can also use field tags. See the [package documentation][cloud-bigquery-ref]
      for details.

    • The ValueList type 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.Next on the same []Value or
      ValueList would 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, uint64 and uintptr are 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.