← Data Engineering & ETL learning path
Data Engineering & ETL · Module 7 of 10

Data quality and testing

Catch bad data before it reaches users.

📖 Key ideas

  1. Test for nulls, uniqueness, valid values and relationships.
  2. dbt tests: unique, not_null, accepted_values, relationships.
  3. Great Expectations and Soda run data checks.
  4. Monitor freshness and volume anomalies.
  5. Fail fast and alert instead of publishing wrong numbers.
💡 Real-life example: Data quality checks are quality inspectors on an assembly line, rejecting faulty products.
not_null testEnsures no missing values
FreshnessHow recent data is
Anomaly detectionFinding unusual changes
Data observabilityMonitoring health of data