-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make node resolution environment aware #71
Comments
Hi @zendesk-sova 👋🏻 Thanks for submitting this feature request. I think I understand the request, but I want to make sure that I have a complete mental model before I start digging in too deep. Can you please describe in a little more details precisely what the project and environment configuration looks like for your set-up? It sounds like there are two separate environments with separate snowflake objects attempting to share a manifest, and I'm not quite sure what this looks like in practice. Thanks! |
Hi @nicholasyager , The other moment with fixed prebuilt manifests, how to work with multiple targets locally as |
Hello everybody! Is looks like a scenario for an alternative resolution is what [dbt-mesh] is doing, I am thinking about how that could be implemented in [dbt-loom] as well: https://docs.getdbt.com/docs/collaborate/govern/project-dependencies#how-to-write-cross-project-ref Safeguarding production data with staging environments |
Thanks for the link, @sergey-vdovin! Based on the docs provided, it sounds like dbt Mesh is tracking state for both staging and production environments. I have a hunch that their proprietary systems are simply tracking manifests for all environments. This hunch is based on the requirement that one has a completed staging environment run prior to attempting to use cross-project refs. In our case, In any case, I'm open to suggestions! |
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) likeprod
the same model should be resolved to a different fully qualified name. If I rephrase the question can we hackgenerate_schema_name
andgenerate_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.
The text was updated successfully, but these errors were encountered: