Glossary · Data observability and quality
What is data quality?
Data quality is how well data fits the job it is used for: whether it is accurate, complete, consistent, valid, unique and on time. Teams measure it with rules and tests on the data itself and protect it with monitoring of the pipelines that produce it.
What data quality means in practice
There is no universal "good data". A table is high quality when the people and systems that use it can rely on it for their purpose. That is usually broken into data quality dimensions:
- Accuracy: values match reality or a trusted source.
- Completeness: required fields and expected rows are present.
- Consistency: the same fact agrees across tables and systems.
- Validity: values follow formats, types and allowed ranges.
- Uniqueness: no unintended duplicates.
- Timeliness or freshness: data arrives when it is needed.
How teams check it
Most quality checks are SQL rules that return failing rows. In BigQuery, a single query can test several rules on yesterday's partition:
SELECT
COUNTIF(customer_id IS NULL) AS missing_customer,
COUNTIF(amount < 0) AS negative_amount,
COUNT(*) - COUNT(DISTINCT order_id) AS duplicate_orders,
COUNTIF(status NOT IN ('PENDING', 'SHIPPED', 'DELIVERED', 'CANCELLED')) AS unknown_status
FROM analytics.orders
WHERE DATE(created_at) = DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY);
The same rules appear as dbt tests, Dataform assertions or Knowledge Catalog (formerly Dataplex Universal Catalog) data quality scans, which group rules by dimension and score each table. Value checks like these read the data, so they cost bytes or slots on every run; filtering on the partitioning column keeps them cheap.
Where rules fall short
Rules catch the problems someone anticipated, on the tables someone covered. Many incidents come from elsewhere: a load that silently wrote a fraction of the usual rows, a pipeline that stopped, an upstream column that changed type. Those are better caught by data observability, which watches freshness, volume, schema and pipeline errors on every table, often from metadata alone. The two work together: rules encode business logic, observability catches the unexpected and shows the lineage of what is affected.
Common pitfalls
- Testing everything equally. Prioritize the tables behind revenue reports, customer-facing features and models.
- Tests that only fail loudly. A rule with no owner and no alert route is a log line, not a control. Tie failures to a data incident process.
- Ignoring upstream. Fixing values in a mart hides the problem; a data contract with the producing team fixes it at the source.
- One score for the whole warehouse. Aggregate scores hide the one broken table that matters.
FAQ
What is the difference between data quality and data observability?
Data quality is the state of the data: is it right and usable. Data observability is the continuous monitoring that tells you when that state changes, across every table, and where the problem started.
How do you measure data quality?
Pick the dimensions that matter for a dataset, such as completeness, validity, uniqueness and freshness, write a rule for each, and track the share of rows or runs that pass over time. A score only means something per dataset and per use: the same table can be good enough for a trend chart and not for invoicing.
