Data Quality/Quality checks by warehouseData Engineer

How do I detect a broken load on MySQL?

Write a custom check comparing today's MySQL row count to the recent baseline. A large drop fails the run so you catch broken loads early.

Command

bruin run

Defined in

YAML + SQL

Works with

MySQL + Bruin CLI

What you get

Anomaly detectionin-pipelineblocking

How it works in code

custom_checks:
  - name: fresh
    query: SELECT count(*) FROM t WHERE loaded_at < now() - interval '1 day'  -- mysql

Run bruin run and the MySQL run stops the moment the rule is violated.

Catch bad data before it ships

Open source. Built-in and custom checks that run on every pipeline run.

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.