Introduction to dbt
Mike Metzger
Data Engineer
{{ ... }} represents a template substitutionref: Access models by nameconfig: Access configuration settingsdocs: Access documentation informationSELECT
COALESCE(start_date, '2025-01-01') as start_date,
COALESCE(update_date, '2025-01-01') as update_date,
COALESCE(end_date, '2025-01-01') as end_date
FROM Events
SELECT
{% for column in ['start_date', 'update_date', 'end_date'] %}
COALESCE({{column}}, '2025-01-01') as {{column}}
{% endfor %}
FROM Events
Introduction to dbt