Notebook on the internet
Felipe Manrique
Notes on data engineering, analytics engineering, and the software I build.
Selected projects
Incremental Replay
Replay a dbt model over source snapshots to find the first batch and keys that diverge from a clean rebuild.
Metric Fanout Audit
Find the first join that multiplies fact rows and measure how much it changes an additive metric.
H3 Hub Placement
Measure when grouping demand points changes which warehouse sites a location model selects.
Writing
Recent writing
- How much does an H3 grid change where you put a warehouse?Adaptive H3 repaired a constructed placement error. In a Madison road model, it chose the same hubs as the fixed grid and took longer.
- Three rebuilds, eight batches: where should you check an incremental pipeline?Two checkpoint policies got three rebuilds each. See which dbt faults they caught, which ones healed between checks, and why a full rebuild can still be wrong.
- When a join turns $120 of orders into $220A left join to refunds counts a $100 order twice. Reproduce the SQL fanout, trace it to the affected order, and fix it at the right grain.
- When dbt tests pass and revenue is still wrongA dbt incremental model skipped a late correction even though its key tests passed. Reproduce the watermark bug and trace the stale row with DuckDB.