Create models/staging/tpch_sources.yml
Create staging models models/staging/stg_tpch_orders.sql
Create models/staging/tpch/stg_tpch_line_items.sql
Create macros/pricing.sql
Create Intermediate table models/marts/int_order_items.sql
Create marts/int_order_items_summary.sql to aggregate info
create fact model models/marts/fct_orders.sql
Create models/marts/generic_tests.yml
Build Singular Tests tests/fct_orders_discount.sql
Create tests/fct_orders_date_valid.sql
RUN python -m venv dbt_venv && source dbt_venv/bin/activate && \
pip install --no-cache-dir dbt-snowflake && deactivate
astronomer-cosmos
apache-airflow-providers-snowflake
{ "account": "<account_locator>-<account_name>", "warehouse": "dbt_wh", "database": "dbt_db", "role": "dbt_role", "insecure_mode": false }