Lineage/Lineage by warehouseData Platform Engineer

How do I trace a ClickHouse metric back to its raw sources?

Column-level lineage maps each ClickHouse output column to the exact upstream columns it depends on, so you can trace any metric to its source. 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, and the browser.

Command

bruin lineage

Defined in

SQL + YAML

Works with

ClickHouse + Bruin CLI

What you get

Metric tracingemergentcolumn-level

How it works in code

$ bruin lineage ./pipeline --downstream  # clickhouse

Run bruin lineage and you see the full ClickHouse column graph before changing anything.

Know what breaks before you ship it

Open source. Column-level lineage parsed from your SQL, with no manual mapping.

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.