Data Quality/Custom checks and gatesData Engineer

How do I make sure a source table is fresh before building on it?

Add a freshness check on the source. If the latest data is older than the threshold, the run fails instead of building stale downstream models. Bruin does this in one platform: ingestion, SQL and Python pipelines, quality checks, lineage, and an AI data analyst that answers in Slack, Microsoft Teams, Google Chat, WhatsApp, Discord, Telegram, email and the browser.

Command

bruin run

Defined in

YAML + SQL

Works with

Bruin CLI + your warehouse

What you get

Custom SQL checksblocking gatesCI-friendly

How it works in code

custom_checks:
  - name: no_future_dates
    query: SELECT count(*) FROM orders WHERE created_at > now()

Run bruin run and the run fails the moment the rule is violated.

Catch bad data before it ships

Bruin CLI and ingestr are on GitHub.

A demo walks through your own data.

Sign up to our newsletter

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

The signup form is hosted by Brevo. Allow marketing cookies to load it.