Data Quality Dimensions (Accuracy, Completeness, Consistency, Timeliness, Validity)
Define quality along accuracy, completeness, consistency, timeliness, and validity with clear owners.
In plain words
Entity, field, and logical interval. Next, source reconciliation or domain rule. Finally, quarantine, route owner, and consumer impact.
Think of it like…
Quality dimensions are independent gauges on an aircraft: a full fuel tank says nothing about whether it is the right fuel, its calibration is correct, or the reading arrived before takeoff.
Where you’ve seen it
Orders are complete only if source and warehouse business-key counts reconcile at dt, accurate if amounts match ledger totals within tolerance, valid if currency is ISO 4217, consistent if customer status agrees across marts, and timely within 30 minutes.
Words you’ll hear
- Accuracy
- Agreement of data values with the authoritative real-world or reconciled source fact.
- Completeness
- Presence of expected records and required field populations over an explicit universe.
- Timeliness
- Availability by the agreed deadline, often measured from source event to consumer-visible partition.
- Operational boundary
- A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on. Define each check's dataset grain, trusted source or invariant, threshold, window, owner, and consumer impact; publish measured evidence and quarantine broken partitions rather than only counting failed rows.
Visual diagram
Theory & deep dive
Accuracy: the working mechanism
Data quality is measured as accuracy to a trusted fact, completeness of required records/fields, consistency across systems, timeliness to an SLO, and validity against allowed schemas and domains.
Entity, field, and logical interval. Source reconciliation or domain rule, then threshold, evidence, and trend; this exposes the state governed by Timeliness.
Orders are complete only if source and warehouse business-key counts reconcile at dt, accurate if amounts match ledger totals within tolerance, valid if currency is ISO 4217, consistent if customer status agrees across marts, and timely within 30 minutes.
Data Quality Dimensions: failure mode and production response
A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on.
Define each check's dataset grain, trusted source or invariant, threshold, window, owner, and consumer impact; publish measured evidence and quarantine broken partitions rather than only counting failed rows. Track Expected population as "denominator for missing-record rate", and make Tolerance visible to the dataset owner.
How it works, step by step
Step 1 of 41. Scope grain
Entity, field, and logical interval. Data quality is measured as accuracy to a trusted fact, completeness of required records/fields, consistency across systems, timeliness to an SLO, and validity against allowed schemas and domains.
- Expected population
- denominator for missing-record rate
- Completeness
- Presence of expected records and required field populations over an explicit universe.
When to use it & trade-offs
What it is
Data quality is measured as accuracy to a trusted fact, completeness of required records/fields, consistency across systems, timeliness to an SLO, and validity against allowed schemas and domains. Orders are complete only if source and warehouse business-key counts reconcile at dt, accurate if amounts match ledger totals within tolerance, valid if currency is ISO 4217, consistent if customer status agrees across marts, and timely within 30 minutes.
Why it matters: A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on. Define each check's dataset grain, trusted source or invariant, threshold, window, owner, and consumer impact; publish measured evidence and quarantine broken partitions rather than only counting failed rows.
When to reach for it
- Define quality along accuracy, completeness, consistency, timeliness, and validity with clear owners.
- Choose Accuracy because it provides this capability: Agreement of data values with the authoritative real-world or reconciled source fact.
- Keep evidence for Expected population at "denominator for missing-record rate" so the last production stage-Act - quarantine, route owner, and consumer impact-remains testable.
When to avoid or be careful
- A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on.
- Do not conflate Completeness with Accuracy. The second concept contributes different behavior: Presence of expected records and required field populations over an explicit universe.
- Release only after this guardrail is in place: Define each check's dataset grain, trusted source or invariant, threshold, window, owner, and consumer impact; publish measured evidence and quarantine broken partitions rather than only counting failed rows.
Accuracy / Completeness / Timeliness - roles, limits, and operating cost
Strengths: Agreement of data values with the authoritative real-world or reconciled source fact. Data quality is measured as accuracy to a trusted fact, completeness of required records/fields, consistency across systems, timeliness to an SLO, and validity against allowed schemas and domains.
Watch out: A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on.
Strengths: Presence of expected records and required field populations over an explicit universe. In this workflow it supports: Measure - threshold, evidence, and trend.
Watch out: The operating cost is real: explicit absolute/percentage error for numeric accuracy.
Strengths: Availability by the agreed deadline, often measured from source event to consumer-visible partition. Its output can be checked with Freshness SLO.
Watch out: Operating guardrail: Define each check's dataset grain, trusted source or invariant, threshold, window, owner, and consumer impact; publish measured evidence and quarantine broken partitions rather than only counting failed rows.
Interview signals & numbers to know
When this topic comes up
- “Where is the failure boundary for Accuracy, and how would Expected population reveal it?”
- “Why is Completeness distinct from this behavior: availability by the agreed deadline, often measured from source event to consumer-visible partition?”
- Production clue: A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on.
- Design probe: Define each check's dataset grain, trusted source or invariant, threshold, window, owner, and consumer impact; publish measured evidence and quarantine broken partitions rather than only counting failed rows.
Benchmarks & rules of thumb
- Expected population
- denominator for missing-record rate
- Tolerance
- explicit absolute/percentage error for numeric accuracy
- Freshness SLO
- p95 or maximum source-to-serve delay
Common mistakes & follow-ups
Common interview mistakes
- A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on.
- Reporting success from a job exit code without checking Expected population and Tolerance.
- Treating this example as complete without replay, rollback, or access boundaries: Orders are complete only if source and warehouse business-key counts reconcile at
dt, accurate if amounts match ledger totals within tolerance, valid if currency is ISO 4217, consistent if customer status agrees across marts, and timely within 30 minutes.
Likely interviewer follow-ups
- How would you prove this contract instead of only checking that the command ran: Agreement of data values with the authoritative real-world or reconciled source fact.
- What does the recovery plan do when this occurs? A 100% non-null table can still be inaccurate or stale, one aggregate check can hide missing partitions, and quality with no severity/owner/consumer context produces alerts nobody can act on.
- When is Accuracy insufficient for Tolerance, and what does adding Completeness cost in Expected population?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Data Quality Dimensions (Accuracy, Completeness, Consistency, Timeliness, Validity) with data engineer interview Q&A and hands-on practice.