Pular para o conteúdo
← Writing
Article

Data quality starts with the pipeline design

Testing the data only on the dashboard is too late. That’s why validations need to be built in from the very start of the data ingestion process.

Ler em português →

Sample text. Replace with your first article.

Almost every conversation about data quality starts in the wrong place: with the report that showed a strange number. By that point, the data has already gone through ingestion, transformation, and modeling, and each step has added a layer of uncertainty about where the problem originated.

Quality Is a Requirement, Not an Inspection

In industry, we learned decades ago that inspecting the product at the end of the line costs more than controlling the process. It’s the same with data. If the pipeline doesn’t know what a valid record is, no one downstream will know either.

The classic dimensions help turn “quality” into something verifiable:

  • Completeness: Are the required fields filled in?
  • Uniqueness: Is the business key duplicated?
  • Validity: Does the value fall within the expected range (dates, codes, ranges)?
  • Consistency: Does the same fact appear the same across different systems?
  • Timeliness: Did the data arrive in time to be useful?

Where to place the checks

  1. At input: validate the schema and minimum rules before saving to the raw layer.
  2. During transformation: Test the business rules that the transformation is designed to enforce.
  3. Upon delivery: verify volumes and totals against the source before releasing for use.

What about governance?

A validation without a shared meaning becomes just another ignored alert. That’s why quality and governance go hand in hand: we must agree on what each field means before testing whether it’s correct.

That’s the thread I intend to explore in my upcoming posts.