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
, andjob_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
toNone
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 apartition_by
in the config.
This will prevent BigQuery from throwing an error since non-partitioned tables cannot haverequire_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
andDatasetReference
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