You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this issue, just implement through the schema.yml section to get an idea for how it would work, and decide if we should go forward with applying it to macros/models/etc.
Consider: it would be nice if we supplied the target to all future contexts as soon as we finished parsing the profile field of dbt_project.yml. This requires some complicated juggling of the parse/render order, but the target is both very useful and can be statically determined, so it's probably worth it.
As part of the issue, also generate some sort of automated description of what fields are rendered in what contexts.
Who will this benefit?
This will make it easier to document the behavior of contexts, which complicated, very unintuitive, and not well-documented right now. This would be an upgrade to just complicated and a little unintuitive.
The text was updated successfully, but these errors were encountered:
This would be great for a use-case I'm working on. I'm trying to implement partitioning as natively as possible and one approach I was toying with was passing in a macro to the snowplow package. Unfortunately, referencing a macro name for schema is not compile-worthy.
Also, lol at this:
This would be an upgrade to just complicated and a little unintuitive.
Related to #1255
Feature
Implement a proof-of-concept for what should be in dbt's rendering contexts
Feature description
I've written a basic idea of what dbt contexts could be like here: https://gist.github.com/beckjake/95117972e370adbe4798f0818b052cc7
For this issue, just implement through the
schema.yml
section to get an idea for how it would work, and decide if we should go forward with applying it to macros/models/etc.Consider: it would be nice if we supplied the
target
to all future contexts as soon as we finished parsing theprofile
field ofdbt_project.yml
. This requires some complicated juggling of the parse/render order, but thetarget
is both very useful and can be statically determined, so it's probably worth it.As part of the issue, also generate some sort of automated description of what fields are rendered in what contexts.
Who will this benefit?
This will make it easier to document the behavior of contexts, which complicated, very unintuitive, and not well-documented right now. This would be an upgrade to just complicated and a little unintuitive.
The text was updated successfully, but these errors were encountered: