Cosmos makes it easy to use dbt with Airflow, letting you take advantage of Airflow’s advanced orchestration features for your dbt workflows.
This eBook includes 13 beginner to advanced example Cosmos dag examples, including:
- Using Dbtdag with multiple data warehouses (BigQuery, Databricks, Snowflake, Postgres)
- Using DbtTaskGroup to run your dbt project as a task group
- Setting granular task dependencies with DbtTaskGroup and Dbtdag
- Inject variables into dbt projects derived from upstream Airflow tasks at runtime
- Host dbt docs in the Airflow UI
Plus, this guide includes a full complex example of a dbt project repository.