How to handle convergent models? #7705
Replies: 1 comment
-
Closing in favor of #8863 |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
We would like to have assistance with regard on how to structure our dbt models given our data model structure (convergent proprietary models into a standardized data model).
Given the following data model:
For example, here's a simplified/genralized representation of a subset of the analytics DAG for two tenants respectively using different competing providers:
Then how can we structure our dbt project to dynamically switch between providers?
Proposed solution
Our current (incomplete) understanding of how to support multiple concurrent implementation of a given model (e.g. std_schedule, std_order) is the following:
P1.*
,P2.*
) with the provider identifier (e.g.acme_provider
,corp_provider
)include
Would that work?
Alternatively, if you have a better model to propose, we are all ears!
Thanks so much for your answer 🙏 😄
Beta Was this translation helpful? Give feedback.
All reactions