Step 6 of 36 · Data platform
Data quality as an engineering discipline
Quality is tested, monitored and owned like software reliability. Heroic cleanup after someone spots a wrong number does not scale.
In most functions, data quality means an analyst notices a strange number, traces it for a day and patches it. The business learns that numbers are sometimes wrong and starts keeping its own spreadsheets.
Treat quality the way software teams treat reliability. Define what correct means for each important table: complete, unique, fresh, within expected ranges, consistent with its source. Encode that as automated tests that run with every load. Alert the owner when one fails, and stop bad data flowing downstream when the failure is serious.
Fix causes at the source. Each cleanup rule you add downstream hides a defect the producing system keeps making.
Aim your effort. A few tables carry most decisions. Hold those to a high standard and say plainly that the rest are best effort.
Try this week
- Pick your three most consumed tables and write five automated checks for each.
- Review the last three wrong-number incidents and record the earliest point each could have been caught.
Signs you've got it
- Your team finds most data defects before a stakeholder does.
- Each tier-one table has tests, an owner and a visible pass or fail status.
Resources
- paperData Validation for Machine Learning (opens in a new tab)Eric Breck and colleagues
- paperAutomating large-scale data quality verification (opens in a new tab)Sebastian Schelter and colleagues
- articleData's Credibility Problem (opens in a new tab)Thomas C. Redman
- guideThe Government Data Quality Framework (opens in a new tab)UK Government Data Quality Hub
- bookData Quality (Machine Learning in Production) (opens in a new tab)Christian Kästner