Replies: 1 comment 2 replies
-
@joellabes Is there someone or a group of someones we should @mention to get this discussion rolling? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This should answer questions like:
dbt_project.yml
?"materialized: "{{ 'table' if target.name == 'prod' else 'view' }}"
indbt_project.yml
but notmaterialized: {{ table_if_prod() }}
?"{{ this }}
sometimes evaluate to None?With answers like
dbt_project.yml
, so you can't access them until after the whole file has been evaluated, which is too late.target
is evaluated beforedbt_project.yml
early and macros aren't available until afterIt would be useful to show the order of parsing, describe the concepts, and show a matrix of where things can be used.
I think this is a matrix of
Different tools
var
this
target
vs different contexts
dbt_project.yml
config()
blockBeta Was this translation helpful? Give feedback.
All reactions