Shop / Ebook

Pipelines That Never Double Count
Idempotent loads, late data and safe backfills
A file is sent twice, a crashed job is rerun, estimates are replaced by real readings and three days of data arrive after an outage. None of it causes an error, and all of it changes the bill. This book shows how to build pipelines where a rerun or a backfill always gives the same, correct answer.
What's inside
- How double counting and undercounting happen, with no errors
- Loads you can run twice: replace by file, never append
- Keys and a clear rule for which copy wins
- Event time, UK days and prices that change mid-month
- Late data: lookback windows versus rebuilding touched days
- Finding gaps, and why missing data must never become zero
- Backfills, fingerprints, safe swaps, retries and locks
- Testing idempotency, and health checks people can read
- Case study: three days of missing meter data, recovered to the watt hour
- A checklist for every new pipeline
You might also like

Data Engineering from Zero
Build your first reliable data pipelines with SQL and Python
See what's inside →
Make the Numbers Match
Reconciling reports with their source, down to the cent
See what's inside →
Change Data Capture from Scratch
From database changes to history tables with SQL and Python
See what's inside →
GDPR Deletion for Data Engineers
Erasing personal data from tables, files, history and backups, with proof
See what's inside →