DataEng Hub

Topic

Data modeling

Dimensional modeling, SCDs, wide tables and modeling for the lakehouse.

Articles

Problems

ProblemSilver

Build an SCD Type 2 with MERGE

Apply a day's customer address changes to a dimension table, closing old versions and inserting new ones, in a single MERGE.

PDF guide

PDF guide9 pages · v1.0

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.