v1.9.0a4
Pre-release
Pre-release
(More work to come in the stable 1.9 release)
Breaking changes
- When using
LoadMode.DBT_LS
, Cosmos will now attempt to use thedbtRunner
as opposed to subprocess to rundbt ls
. While this represents significant performance improvements (half the vCPU usage and some memory consumption improvement), this may not work in scenarios where users had multiple Python virtual environments to manage different versions of dbt and its adaptors. In those cases, please setRenderConfig(invocation_mode=InvocationMode.SUBPROCESS)
to have the same behaviour Cosmos had in previous versions. Additional information here and here.
Features
- Use
dbtRunner
in the DAG Processor when usingLoadMode.DBT_LS
ifdbt-core
is available by @tatiana in #1484. Additional information here. - Allow users to opt-out of
dbtRunner
during DAG parsing withInvocationMode.SUBPROCESS
by @tatiana in #1495. Check out the documentation. - Add structure to support multiple db for async operator execution by @pankajastro in #1483
- Support overriding the
profile_config
per dbt node or folder using config by @tatiana in #1492. More information here.
Bug Fixes
Enhancement
- Fix OpenLineage deprecation warning by @CorsettiS in #1449
- Move
DbtRunner
related functions intodbt/runner.py
module by @tatiana in #1480
Others
Cut from: main after merging #1492