dbt 0.21.0rc1
Pre-release
Pre-release
cmcarthur
released this
20 Sep 17:05
·
30 commits
to 0.21.latest
since this release
An initial release candidate for v0.21.0.
Features
- Experimental parser now detects macro overrides of ref, source, and config builtins. (#3581, #3582)
- Add connect_timeout profile configuration for Postgres and Redshift adapters. (#3581, #3582)
- Enhance BigQuery copy materialization (#3570, #3606):
- to simplify config (default usage of
copy_materialization='table'
if is is not found in global or local config) - to let copy several source tables into single target table at a time. (Google doc reference)
- to simplify config (default usage of
- Customize ls task JSON output by adding new flag
--output-keys
(#3778, #3395) - Add support for execution project on BigQuery through profile configuration (#3707, #3708)
- Skip downstream nodes during the
build
task when a test fails. (#3597, #3792) - Added default field in the
selectors.yml
to allow user to define default selector (#3448, #3875, #3892) - Added timing and thread information to sources.json artifact (#3804, #3894)
- Update cli and rpc flags for the
build
task to align with other commands (--resource-type
,--store-failures
) (#3596, #3884)
Fixes
- Support BigQuery-specific aliases
target_dataset
andtarget_project
in snapshot configs (#3694, #3834) dbt debug
shows a summary of whether all checks passed or not (#3831, #3832)- Fix issue when running the
deps
task after thelist
task in the RPC server (#3846, #3848, #3850) - Fix bug with initializing a dataclass that inherits from
typing.Protocol
, specifically fordbt.config.profile.Profile
(#3843, #3855) - Introduce a macro,
get_where_subquery
, for tests that usewhere
config. Alias filtering subquery asdbt_subquery
instead of resource identifier (#3857, #3859) - Use group by column_name in accepted_values test for compatibility with most database engines (#3905, #3906)
- Separated table vs view configuration for BigQuery since some configuration is not possible to set for tables vs views. (#3682, #3691)
Under the hood
- Use GitHub Actions for CI (#3688, #3669)
- Better dbt hub registry packages version logging that prompts the user for upgrades to relevant packages (#3560, #3763, #3759)
- Allow the default seed macro's SQL parameter,
%s
, to be replaced by dispatching a new macro,get_binding_char()
. This enables adapters with parameter marker characters such as?
to not have to overridebasic_load_csv_rows
. (#3622, #3623) - Alert users on package rename (hub.getdbt.com#180, #3825)
- Add
adapter_unique_id
to invocation context in anonymous usage tracking, to better understand dbt adoption (#3713, #3796) - Specify
macro_namespace = 'dbt'
for all dispatched macros in the global project, making it possible to dispatch to macro implementations defined in packages. Dispatchgenerate_schema_name
andgenerate_alias_name
(#3456, #3851) - Retry transient GitHub failures during download (#3729)
Contributors:
- @xemuliam (#3606)
- @sungchun12 (#3759)
- @dbrtly (#3834)
- @swanderz #3623
- @JasonGluck (#3582)
- @joellabes (#3669)
- @juma-adoreme (#3838)
- @annafil (#3825)
- @AndreasTA-AW (#3691)
- @Kayrnt (3707)
- @TeddyCr (#3448)
- @sdebruyn (#3906)