Trust Rules to validate your data, AgileData Engineering Pattern #3 - Episode #69

13 Jul 2025 · 11 min
11:17

In this Agile Data Podcast episode, host Shane Gibson (Shagility) and guest Nigel Vining discuss the "trust rules" pattern for data engineering. Trust rules are automated data validation checks that are baked into the data pipeline from day one, providing confidence that data is trustworthy. The conversation covers the distinction between built‑in checks (e.g., uniqueness of business keys, effective dates) that run on every load and user‑defined checks (e.g., email or phone regex) that can be toggled. They explain how trust rules are defined in a "context plane", executed after table refreshes, persisted as data, and surfaced via reports, dashboards, or alerts (e.g., Slack). The hosts describe their evolution from using a Google‑wrapped open‑source data‑quality engine (YAML‑defined SQL tests) to building an in‑house engine that leverages BigQuery’s columnar storage, partition pruning, and clustering to reduce cost and latency. They highlight anti‑patterns such as running validation on every column of every table all the time, which leads to high compute costs and alert fatigue. Instead, they advocate selective rule placement, incremental windows, and leveraging table metadata (partitioning, clustering) to run cheap, targeted checks. The episode concludes with practical advice on keeping trust rules simple, focusing on high‑value checks, and using validation results to monitor load patterns and other operational signals.

Chapters

More from Shagility

0:50
youtube.com

Are Enterprise LLMs Truly Observable? #substack #shorts

3w ago
1:50
youtube.com

Data Products Are Becoming Mini-Apps #substack #shorts

3w ago
2:11
youtube.com

Building shared organizational memory #substack #shorts

3w ago
0:29
youtube.com

Don’t Force Everyone to Learn SQL #substack #shorts

3w ago
56:35
youtube.com

Watch now | Recording of AURA - Anna Bergevin & Shane Gibson 21st September 2026

3w ago
0:52
youtube.com

When Platforms Make Dangerous Assumptions #substack #shorts

1mo ago
0:57
youtube.com

Why Experience Beats Blind Data #substack #shorts

1mo ago
0:57
youtube.com

We Still Need Junior Engineers #substack #shorts

1mo ago
0:44
youtube.com

Use agents and one session as judge #substack #shorts

1mo ago
1:06:17
youtube.com

Watch now | Recording of AURA - Chris Gambill & Shane Gibson on 11th September 2026

1mo ago
1:12:00
youtube.com

How can data teams use Generative AI with Shaun McGirr - AgileData #43

1mo ago
See all content