Changes
1.44.0 (2022-11-30)
Features
- bigquery/datatransfer: added Location API methods docs: updated comments (22ec3e3)
- bigquery/storage: add missing_value_interpretations to AppendRowsRequest (2a0b1ae)
- bigquery: Add default partition expiration to Dataset (#7096) (601c77a), refs #7021
- bigquery: Remove code for reservation/apiv1beta1 (#7010) (451acc1)
- bigquery: Start generating proto stubs (#7026) (debc4c7)
- bigquery: Widen retry predicate (#6976) (753b751)
Bug Fixes
- bigquery/storage/managedwriter: Remove old header routing (#6960) (434b407)
Documentation
- bigquery/storage: remove stale header guidance for AppendRows (9c5d6c8)
1.43.0 (2022-10-24)
Features
- bigquery/analyticshub: rename nodejs analyticshub library package name (52dddd1)
- bigquery/storage/managedwriter: Enable field name indirection (#6247) (1969273)
- bigquery/storage/managedwriter: Retry on FailedPrecondition (#6761) (d1a444d)
- bigquery/storage/managedwriter: Support append retries (#6695) (6ae9c67)
- bigquery/storage/managedwriter: Switch to opt-in retry (#6765) (a3e97a6)
- bigquery: Add remote function options to routine metadata (#6702) (d9a437d)
Bug Fixes
- bigquery/storage/managedwriter: Address possible resource leak (#6775) (979440b)
- bigquery: Avoid stack overflow on query param with recursive types (#6890) (854ccfc), refs #6884
- bigquery: Bq connection auth scopes (#6752) (8e09288), refs #6744
Documentation
- bigquery/storage/managedwriter/adapt: Typo in error string (#6729) (bb26153)
- bigquery/storage/managedwriter: Add retry info to package docs (#6803) (81e52e5)
1.42.0 (2022-09-21)
Features
- bigquery/analyticshub: Start generating apiv1 (#6707) (feb7d7d)
- bigquery/datapolicies: Start generating apiv1beta1 (#6697) (f5443e8)
- bigquery/reservation/apiv1beta1: add REST transport (f7b0822)
- bigquery/storage/managedwriter: Define append retry predicate (#6650) (478b8dd)
- bigquery/storage: add proto annotation for non-ascii field mapping (ec1a190)
- bigquery: Add reference file schema option for federated formats (#6693) (3d26091)
- bigquery: Add support for explicit query parameter type (#6596) (d59b5b2), refs #4704
Bug Fixes
- bigquery/connection: integrate gapic-generator-python-1.4.1 and enable more py_test targets (ec1a190)
1.41.0 (2022-09-14)
Features
- bigquery/storage: add location to WriteStream and add WriteStreamView support (6a0080a)
Bug Fixes
- bigquery/storage/managedwriter: Fix incorrect error retention (#6659) (dc02bca)
- bigquery: Parse timestamp query parameter with RFC3339 (#6653) (aabd2d6)
1.40.0 (2022-09-08)
⚠ BREAKING CHANGES
- bigquery/dataexchange: update BigQuery Analytics Hub API v1beta1 client BREAKING CHANGE: refresh current dataexchange/v1beta1/* directory to include recent change in protos. Removed common directory and use local enum Category fix!: refactor references to Category message docs: improve proto documentation.
Features
- bigquery/dataexchange: update BigQuery Analytics Hub API v1beta1 client BREAKING CHANGE: refresh current dataexchange/v1beta1/* directory to include recent change in protos. Removed common directory and use local enum Category fix!: refactor references to Category message docs: improve proto documentation. (e45ad9a)
- bigquery/storage/managedwriter: Augment reconnection logic (#6609) (6b0ac0c)
- bigquery: Add trace instrumentation support for individual rpcs (#6493) (eedc632)
- bigquery: Improve error when reading null values (#6566) (e9a94c2), refs #2612
Documentation
- bigquery: Add numeric and bignumeric to RowIterator docs (#6560) (bea4028)
Miscellaneous Chores
1.39.0 (2022-08-23)
Features
- bigquery/storage: allow users to set Apache Avro output format options through avro_serialization_options param in TableReadOptions message Through AvroSerializationOptions, users can set enable_display_name_attribute, which populates displayName for every avro field with the original column name Improved documentation for selected_fields, added example for clarity. (41ab4ec)
- bigquery: add PreserveAsciiControlCharacters support for CSV (#6448) (b7bac2f)
- bigquery: add preview support for default values (#6464) (edc3be5)
1.38.0 (2022-08-12)
Features
- bigquery/migration: Add MySQL dialect to bigquerymigration v2 client library (370e23e)
- bigquery/storage/managedwriter: improve error communication (#6360) (b30d89d)
Bug Fixes
- bigquery/storage/managedwriter: propagate calloptions to append (#6488) (c65f9da)
1.37.0 (2022-08-04)
Features
- bigquery/connection: Add service_account_id output field to CloudSQL properties (1d6fbcc)
- bigquery/storage/managedwriter: refactor AppendResponse (#6402) (c07bca2)
- bigquery: support JSON as a data type (#5986) (835fe4f)
Bug Fixes
- bigquery: include user_email field when requesting job information (#6256) (da42b4e)
Documentation
- bigquery/storage: clarify size limitations for AppendRowsRequest chore: add preferred_min_stream_count to CreateReadSessionRequest chore: add write_stream to AppendRowsResponse (1d6fbcc)
1.36.0 (2022-07-18)
Features
- bigquery/migration: Add Presto dialect to bigquerymigration v2 client library (89a049a)
- bigquery/storage/managedwriter/adapt: support packed field option (#6312) (fc3417b)
Bug Fixes
- bigquery/storage/managedwriter: improve network reconnection (#6338) (085a038)
1.35.0 (2022-07-07)
Features
- bigquery: start generating REST client for beta clients (25b7775)
Bug Fixes
- bigquery/storage/managedstorage: improve internal locking (#6304) (a2925ce)
- bigquery/storage/managedwriter/adapt: schema->protodescriptor (#6267) (a017230), refs #6258
- bigquery/storage: Modify client lib retry policy for CreateWriteStream with longer backoff, more error code and longer overall time (199b725)
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.