Creating a test macro throws the error in the project.yml file when debugging: Compilation Error
Could not render {{ test_macro() }}: ‘test_macro’ is undefined
dbt version: 1.7.0
Nothing seems to be wrong with the dbt syntax
macro:
Hi, The dbt_project.yml file is processed before the macros are compiled, meaning that any macro calls made in this file will not be recognized, leading to the compilation error.