DataEng Hub
PDF guide · 9 pages
v1.0 · 21 KB
dbtbeginner

dbt Project Structure Guide

How to lay out a dbt project that scales past 200 models: staging/intermediate/marts layers, naming, tests, and the refactors to do early.

What's inside

  1. 01The three-layer layout: staging, intermediate, marts
  2. 02Naming: stg_, int_, fct_, dim_ and when to break the rules
  3. 03Sources, freshness and staging 1:1 rule
  4. 04Tests that catch real regressions
  5. 05Snapshots and seeds placement
  6. 06Refactors to do before model 50, not after model 500

Written for teams adopting dbt on Databricks or Synapse — the structure applies to any warehouse.

Goes well with