Writing Your First Macro in dbt – Practical Templates
Once you’ve got your models, snapshots, and seeds up and running, you might start noticing some repeated SQL patterns in your dbt project. Maybe you’re calculating currency-converted revenue in multiple models. Or doing the same timestamp casting aga...