dbt BigQuery 1.0.0
Features
- Add optional
scopes
profile configuration argument to reduce the BigQuery OAuth scopes down to the minimal set needed. (#23, #63) - Rework
_dbt_max_partition
logic in dynamicinsert_overwrite
incremental strategy. Make the default logic compatible withon_schema_change
, and make it possible to disable or reimplement that logic by defining a custom macrodeclare_dbt_max_partition
(#17, #39, #41)
Fixes
- Don't apply
require_partition_filter
to temporary tables, thereby fixinginsert_overwrite
strategy when partition filter is required (#64), (#65) - Fix problem with bytes processed return None value when the service account used to connect DBT in bigquery had a row policy access.
(#47, #48) - When on_schema_change is set, pass common columns as dest_columns in incremental merge macros (#4144)
- Reimplement the
unique
test to handle column expressions and naming overlaps (#33, #35, #10) - Avoid error in
dbt deps
+dbt clean
if default project is missing (#27, #40)
Under the hood
- Adding
execution_project
totarget
object (#66) - Capping
google-api-core
to version1.31.3
due toprotobuf
dependency conflict (#53) - Bump
google-cloud-core
andgoogle-api-core
upper bounds to<3
, thereby removing<1.31.3
limit on the latter. Remove explicit dependency onsix
(#57) - Remove official support for python 3.6, which is reaching end of life on December 23, 2021 (dbt-core#4134, #59)
- Add support for structured logging #55
- Replace
sample_profiles.yml
withprofile_template.yml
, for use with newdbt init
(#43) - Initial adapter split out
Contributors
- @pgoslatara (#66)
- @bborysenko (#63)
- @yu-iskw (#65)
- @imartynetz (#48)
- @Kayrnt (#51)
- @DigUpTheHatchet (#10)
- @jeremyyeo (#40)
- @NiallRees (#43)