Changes

1.34.1 (2022-06-23)

Bug Fixes

1.34.0 (2022-06-23)

Features

  • bigquery/storage: add fields to eventually contain row level errors (5fe3b1d)

Bug Fixes

  • bigquery/storage/managedwriter: address locking and schema updates (#6243) (fe264a5)

1.33.0 (2022-06-16)

Features

  • bigquery/migration: Add SQL Server dialect to bigquerymigration v2 client library (90489b1)
  • bigquery/storage/managedwriter/adapt: support proto3 presence (#6021) (2984600)
  • bigquery/storage/managedwriter: improve proto3 normalization (#6082) (6a742ff)
  • bigquery: add support for dataset tags (#6114) (1f35044)
  • bigquery: support partial projection of table metadata (#6186) (507a2be)

Bug Fixes

  • bigquery/dataexchange: Include common protos in google-cloud-bigquery-data_exchange-v1beta1 (6ef576e)

1.32.0 (2022-05-06)

Features

  • bigquery: add interval support (#5907) (9e979c9)
  • bigquery: expose connections and schema autodetect modifier (#5739) (c72e34f)

1.31.0 (2022-04-12)

Features

  • bigquery/storage: Deprecate format specific row_count field in Read API (57896d1)
  • bigquery: enhance SchemaFromJSON (#5877) (16289f0)
  • bigquery: support table cloning (#5672) (74c120a)

1.30.2 (2022-03-30)

Bug Fixes

  • bigquery/storage/managedwriter/adapt: fix enum append (#5819) (9eeaf0f)

1.30.1 (2022-03-30)

Bug Fixes

  • bigquery/storage/managedwriter: correct enum processing in NormalizeDescriptor (#5811) (52cf48e)
  • bigquery: improve retry for table create (#5807) (f27d1dc)

1.30.0 (2022-03-16)

Features

Bug Fixes

  • bigquery: Query.Read fails with dry-run queries (#5753) (e279584)

1.29.0 (2022-03-02)

Features

  • bigquery/storage/managedwriter/adapt: handle oneof normalization (#5670) (c7f54d8)
  • bigquery/storage/managedwriter: minor ease-of-use improvements (#5660) (d253c24)
  • bigquery/storage: add trace_id for Read API (080adb0)
  • bigquery: add job timeout support (#5707) (868363c)
  • bigquery: set versionClient to module version (55f0d92)

Bug Fixes

  • bigquery/storage: remove bigquery.readonly auth scope (5af548b)

1.28.0 (2022-02-14)

Features

  • bigquery/datatransfer: add owner email to TransferConfig message feat: allow customer to enroll a datasource programmatically docs: improvements to various message and field descriptions (f560b1e)
  • bigquery: add better version metadata to calls (d1ad921)

Bug Fixes

  • bigquery/storage/managedwriter: address possible panic due to flow (#5436) (50c6e38)
  • bigquery/storage/managedwriter: append improvements (#5465) (aa167bd)

1.27.0 (2022-01-24)

Features

  • bigquery: augment retry predicate (#5387) (f9608d4)
  • bigquery: support null marker for csv in external data config (#5287) (132904a)

1.26.0 (2022-01-04)

Features

  • bigquery/reservation: increase the logical timeout (retry deadline) to 5 minutes (5444809)
  • bigquery/storage/managedwriter: support schema change notification (#5253) (70e40db)
  • bigquery/storage: add write_mode support for BigQuery Storage Write API v1 (615b42b)

1.25.0 (2021-12-02)

⚠ BREAKING CHANGES

  • bigquery/storage/managedwriter: changes function signatures to add variadic call options

Features

  • bigquery/storage/managedwriter: extend managedstream to support call options (#5078) (fbc2717)
  • bigquery/storage/managedwriter: improve method parity in managedwriter (#5007) (a2af4de)
  • bigquery/storage/managedwriter: support variadic appends (#5102) (014b314)
  • bigquery: add BI Engine information to query statistics (#5081) (b78c89b)
  • bigquery: add support for AvroOptions in external data config (#4945) (8844e40)
  • bigquery: allow construction of jobs from other projects (#5048) (6d07eca)
  • bigquery: expose identifiers using a variety of formats (#5017) (c9cd984)

Bug Fixes

  • bigquery/migration: correct python namespace for migration API Committer: @shollyman (8c5c6cf)
  • bigquery/storage/managedwriter: correctly copy request (#5122) (cd43a5c)
  • bigquery: address one other callsite for the job construction feature (#5059) (98779eb)

Miscellaneous Chores

1.24.0 (2021-09-27)

Features

  • bigquery/migration: Add PAUSED state to Subtask and add task details protos (bddab08)

Bug Fixes

  • bigquery/storage: add missing read api retry setting on SplitReadStream (797a9bd)

1.23.0 (2021-09-23)

Features

  • bigquery/reservation:
    • Deprecated SearchAssignments in favor of SearchAllAssignments
    • feat: Reservation objects now contain a creation time and an update time
    • feat: Added commitment_start_time to capacity commitments
    • feat: Force deleting capacity commitments is allowed while reservations with active assignments exist
    • feat: ML_EXTERNAL job type is supported
    • feat: Optional id can be passed into CreateCapacityCommitment and CreateAssignment
    • docs: Clarified docs for None assignments
    • fix!: Fixed pattern for BiReservation object BREAKING_CHANGE: Changed from bireservation to biReservation
    • (d9ce9d0)
  • bigquery/storage/managedwriter: BREAKING CHANGE: changeAppendRows behavior (#4729)
  • bigquery/storage: add BigQuery Storage Write API v1 (e52c204)
  • bigquery/storage: migrate managedwriter to v1 write from v1beta2 (#4788)
  • bigquery: add session and connection support (#4754) (e846dfd)
  • bigquery: expose the query source of a rowiterator via SourceJob() (#4748)

1.22.0 (2021-08-30)

Features

  • bigquery/storage/managedwriter/adapt: add NormalizeDescriptor (#4681) (c54aa74)
  • bigquery/storage/managedwriter: more metrics instrumentation (#4690) (9505384)

1.21.0 (2021-08-16)

Features

  • bigquery/storage/managedwriter: add project autodetection (#4605) (d8cc9be)
  • bigquery/storage/managedwriter: improve protobuf support (#4589) (a455082)
  • bigquery/storage/managedwriter: more instrumentation support (#4601) (ff488c8)
  • bigquery: switch to centralized project autodetect logic (#4625) (18ff070)

Bug Fixes

  • bigquery/storage/managedwriter: support non-default regions (#4566) (68418f9)

1.20.1 (2021-08-06)

Bug Fixes

  • bigquery/storage/managedwriter: fix flowcontroller double-release (#4555) (67facd9)

1.20.0 (2021-07-30)

Features

  • bigquery/connection: add cloud spanner connection support (458f15b)
  • bigquery/storage/managedwriter/adapt: add schema -> proto support (#4375) (4ff6243)
  • bigquery/storage/managedwriter: add append stream plumbing (#4452) (b085384)
  • bigquery/storage/managedwriter: add base client (#4422) (4f7193b)
  • bigquery/storage/managedwriter: add flow controller (#4404) (9dc78e0)
  • bigquery/storage/managedwriter: add opencensus instrumentation (#4512) (73b6f5e)
  • bigquery/storage/managedwriter: add state tracking (#4407) (4638e17)
  • bigquery/storage/managedwriter: naming and doc improvements (#4508) (663c899)
  • bigquery/storage/managedwriter: wire in flow controller (#4501) (40571fa)
  • bigquery: add more dml statistics to query statistics (#4405) (99d5728)
  • bigquery: support decimalTargetType prioritization (#4343) (95a27f7)
  • bigquery: support multistatement transaction statistics in jobs (#4485) (4565eb7)

Bug Fixes

  • bigquery/storage/managedwriter: fix double-close error, add tests (#4502) (c6cf659)

1.19.0 (2021-06-29)

Features

  • bigquery/storage: Add ZSTD compression as an option for Arrow. (770db30)
  • bigquery/storage: remove alpha client (#4100) (a2d137d), refs #4098
  • bigquery: add support for parameterized types (#4103) (a2330e4)
  • bigquery: add support for snapshot/restore (#4112) (4c12b42)
  • bigquery: add support for user defined TVF (#4043) (37607b4)
  • bigquery: enable project autodetection, expose project ids further (#4312) (267787e)
  • bigquery: support job deletion (#3935) (363ba03)
  • bigquery: support nullable params and geography params (#4225) (43755d3)

Bug Fixes

  • bigquery: minor rename to feature that's not yet in a release (#4320) (ef8d138)
  • bigquery: update streaming insert error test (#4321) (12f3042)

1.18.0 (2021-05-06)

Features

  • bigquery/storage: new JSON type through BigQuery Write (9029071)
  • bigquery: augment retry predicate to support additional errors (#4046) (d4af6f7)
  • bigquery: expose ParquetOptions for loads and external tables (#4016) (f9c4ccb)
  • bigquery: support mutable clustering configuration (#3950) (0ab30da)

1.17.0 (2021-04-08)

Features

  • bigquery/storage: add a Arrow compression options (Only LZ4 for now). feat: Return schema on first ReadRowsResponse. doc: clarify limit on filter string. (2b02a03)
  • bigquery/storage: deprecate bigquery storage v1alpha2 API (9cc6d2c)
  • bigquery/storage: updates for v1beta2 storage API - Updated comments on BatchCommitWriteStreams - Added new support Bigquery types BIGNUMERIC and INTERVAL to TableSchema - Added read rows schema in ReadRowsResponse - Misc comment updates (48b4e59)
  • bigquery: export HivePartitioningOptions in load job configurations (#3877) (7c759be)
  • bigquery: support type alias names for numeric/bignumeric schemas. (#3760) (2ee6bf4)

v1.16.0

  • Updates to various dependencies.

1.15.0 (2021-01-14)

Features

  • bigquery: add reservation usage stats to query statistics (#3403) (112bcde)
  • bigquery: add support for allowing Javascript UDFs to indicate determinism (#3534) (2f417a3), refs #3533

Bug Fixes

  • bigquery: address possible panic due to offset checking in handleInsertErrors (#3524) (5288511), refs #3519

1.14.0 (2020-12-04)

Features

v1.13.0

  • Support retries for specific http2 transport race.
  • Remove unused datasource client from bigquery/datatransfer.
  • Adds support for authorized User Defined Functions (UDFs).
  • Documentation improvements.
  • Various updates to autogenerated clients.

v1.12.0

  • Adds additional retry support for table deletion.
  • Various updates to autogenerated clients.

v1.11.2

  • Addresses issue with consuming query results using an iterator.Pager

v1.11.1

  • Addresses issue with optimized query path changes, released in v1.11.0

v1.11.0

  • Add support for optimized query path.
  • Documentation improvements.
  • Fix issue related to the ReturnType of a bigquery Routine.
  • Various updates to autogenerated clients.

v1.10.0

  • Support for Infinity/-Infinity/NaN values in NullFloat64.
  • Updates to RowIterator to address issues related to retrieving query results without explicit destination table references.
  • Various updates to autogenerated clients.

v1.9.0

  • SchemaFromJSON will now accept alias type names (e.g. INT64 vs INTEGER, STRUCT vs RECORD).
  • Support for IAM on table resources.
  • Various updates to autogenerated clients.

v1.8.0

  • Add support for hourly time partitioning.
  • Various updates to autogenerated clients.

v1.7.0

  • Add support for extracting BQML models to cloud storage.
  • Add support for specifying projected fields when ingesting datastore backups.
  • Fix issue related to defining a range partitioning range using default values.
  • Add bigquery/reservation/v1 API.
  • Various updates to autogenerated clients.

v1.6.0

  • Add support for materialized views.
  • Add support for policy tags (column ACLs).
  • Add bigquery/connection/v1beta1 API.
  • Documentation improvements.
  • Various updates to autogenerated clients.

v1.5.0

  • Add v1 endpoint for bigquerystorage API.
  • Improved error message in bigquery.PutMultiError.
  • Various updates to autogenerated clients.

v1.4.0

  • Add v1beta2, v1alpha2 endpoints for bigquerystorage API.

  • Location is now reported as part of TableMetadata.

v1.3.0

  • Add Description field for Routine entities.

  • Add support for iamMember entities on dataset ACLs.

  • Address issue when constructing a Pager from a RowIterator that referenced a result with zero result rows.

  • Add support for integer range partitioning, which affects table creation directly and via query/load jobs.

  • Add opt-out support for streaming inserts via experimental NoDedupeID sentinel.

v1.2.0

  • Adds support for scripting feature, which includes script statistics and the ability to list jobs run as part of a script query.

  • Updates default endpoint for BigQuery from www.googleapis.com to bigquery.googleapis.com.

v1.1.0

  • Added support for specifying default EncryptionConfig settings on the dataset.

  • Added support for EncyptionConfig as part of an ML model.

  • Added Relax() to make all fields within a Schema nullable.

  • Added a UseAvroLogicalTypes option when defining an avro extract job.

v1.0.1

This patch release is a small fix to the go.mod to point to the post-carve out cloud.google.com/go.

v1.0.0

This is the first tag to carve out bigquery as its own module. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.