Discussion about this post

User's avatar
Robby Rob's avatar

I have been using this structure for over a year now and it has been working well. I use the term prep instead of base, however, it works the same. The real advantage is that all of the code for a model lives in the same directory of the parent model with as much depth as needed, without having to hop around the entire project hunting down fragments spread over base/intermediate/staging paths. This treats sub-models of a parent model somewhat like private methods or properties of a programming module, with the parent model being the main interface where it is all brought together and used in the database or downstream models.

Expand full comment
Filipe Balseiro's avatar

I have a question from this structure: so if we have a lineage on a specific domain with staging, intermediate and marts models how would that fit into this?

Expand full comment
5 more comments...

No posts