dbt-loom
dbt-loom copied to clipboard
Make node resolution environment aware
Is your feature request related to a problem? Please describe. Hi folks, Thanks for the great work, I wonder is it possible to make node resolution process to be environment (target) aware?
So in our use case lower environments (targets) like dev
, ci
are using one set of Snowflake tables for defer and we can put it in the manifest, but for higher environments (target) like prod
the same model should be resolved to a different fully qualified name. If I rephrase the question can we hack generate_schema_name
and generate_database_name
macros to node resolution?
Describe alternatives you've considered Not quite sure if there is a solution other than maintain N different manifests one for each environment, which doesn't look like an optimal and potentially error prone method.
Additional context I'm ready to contribute to the solution with enough guidance provided.