EasyDeepLearn

What is a data contract?

medium

Answer

  • Formal agreement between data producer + consumer specifying: (1) schema (columns + types + nullability).
  • (2) semantic meaning of each field.
  • (3) update frequency + freshness SLA.
  • (4) quality guarantees (uniqueness, range, referential integrity).
  • (5) breaking-change process.
  • Enforced via automated checks in CI on the producer side.
  • Prevents 'silent schema drift'.
  • Modern data engineering practice popularized by Andrew Jones.
  • Tools: Data Contracts CLI, Iceberg schema evolution rules.
Check yourself — multiple choice
  • Random
  • Formal producer-consumer agreement on schema + semantics + freshness + quality + breaking-change process; enforced via CI on producer; prevents silent drift
  • Legal doc
  • Not real

Data contract: producer-consumer agreement + CI-enforced; prevents drift.

#data-quality#pipeline

Practise MLOps & Data Quality

215 interview questions in this topic.

Related questions