github dbt-labs/dbt-bigquery v1.1.0
dbt-bigquery v1.1.0

latest releases: v1.8.2, v1.8.1, v1.7.9...
2 years ago

dbt-bigquery 1.1.0 (April 28, 2022)

Features

  • Provide a fine-grained control of the timeout and retry of BigQuery query with four new dbt profile configs: job_creation_timeout_seconds, job_execution_timeout_seconds, job_retry_deadline_seconds, and job_retries (#45, #50)
  • Adds new integration test to check against new ability to allow unique_key to be a list. #112
  • Added upload_file macro to upload a local file to a table. #102
  • Add logic to BigQueryConnectionManager to add fuctionality for UPDATE and SELECT statements. #79

Fixes

  • Restore default behavior for query timeout. Set default job_execution_timeout to None by default. Keep 300 seconds as query timeout where previously used.
  • Fix test related to preventing coercion of boolean values (True, False) to numeric values (0, 1) in query results (#93)
  • Add a check in get_table_options to check that the table has a partition_by in the config.
    This will prevent BigQuery from throwing an error since non-partitioned tables cannot have require_partition_filter (#107)
  • Ignore errors of the lack of permissions in list_relations_without_caching (#104)

Under the hood

  • Use dbt.tests.adapter.basic in tests (new test framework) (#135, #142)
  • Adding pre-commit and black formatter hooks (#147)
  • Adding pre-commit code changes (#148)
  • Address BigQuery API deprecation warning and simplify usage of TableReference and DatasetReference objects (#97),(#98)
  • Add contributing.md file for adapter repo #73
  • Add stale messaging workflow to Github Actions #103
  • Add unique_key to go in parity with unique_key as a list chagnes made in core #119
  • Adding new Enviornment variable for integration testing puproses #116

Contributors

Don't miss a new dbt-bigquery release

NewReleases is sending notifications on new releases.