Macros
Macros are just Jinja functions. You can write your own macros which should live at ./mojap_derived_tables/macros/
, see dbt’s docs on Jinja macros.
There is an ecosystem of packages containing helpful macros and tests you can use, see dbt package hub. If you need a package adding to the dbt project, update the packages.yml
file then rerun dbt deps
.
This page was last reviewed on 7 August 2023.
It needs to be reviewed again on 7 August 2024
by the page owner #ask-data-modelling
.
This page was set to be reviewed before 7 August 2024
by the page owner #ask-data-modelling.
This might mean the content is out of date.