5 Comments
User's avatar
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
Yordan Ivanov's avatar

Every domain is a top drirectory in your "models" dir, and everything domain-related goes into that respective directory. Does that make sense?

Expand full comment
Filipe Balseiro's avatar

Yep, it makes sense. I'm just wondering if you break it down into additional folders to visually isolate staging / intermediate / marts models or just using like naming convention to address those in the main domain folder (with only the exception of base folder)?

Expand full comment
Yordan Ivanov's avatar

Oh yes, I do create subfolders. Without those, more complicated marts are very hard to trace. I only leave "user-facing" assets in the main domain directory.

Expand full comment
Filipe Balseiro's avatar

Ok, that's what I thought but just wanted to make sure I was not making wrong assumptions. Thanks for clarifying that.

Expand full comment