Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Databases, SQL & BIData / ETL / BIJuniorCommonTheory

Which data-quality dimensions should a tester evaluate?

Answer

Common dimensions include completeness, validity, accuracy, consistency, uniqueness, timeliness or freshness and referential integrity. Define each dimension as a measurable rule tied to a business decision, identify the authoritative source and acceptable threshold, and monitor results by source and time rather than reporting one blended quality score.

Strong answer includes

  • names several distinct dimensions
  • turns dimensions into measurable business rules
  • identifies authoritative data and thresholds

Practical example

Turn quality dimensions into measurable SQL checks
Dialect · Portable SQLRuntime · SQLite sample DB

Runs against the resettable SQLite sample database used by the playground.

SQL
SQLite · sample DB · browser sandbox
Result
Run the query to see the result.

Completeness, validity, uniqueness and freshness need explicit rules and thresholds. This example checks fields that actually exist in the sample orders schema and applies the same normalized-email uniqueness rule used by the duplicate example.

Expected result: Named quality metrics that can be compared with explicit acceptance thresholds.

#data-quality#completeness#validity#freshness

Sources

Great Expectations CoreGreat Expectations · Data-quality expectations, validation definitions and evidenceAdd data tests to your DAGdbt Labs · Reusable assertions for analytics transformations and data contracts