Bruin CLI Step 5 of 6

ClickHouse + Bruin 101

1) Validate the asset contracts

From the parent directory, validate the template before it touches ClickHouse:

bruin validate clickhouse-bruin-101 --fast

Validation checks the asset definitions and their dependencies. It catches problems such as an invalid materialization configuration, a missing dependency, or a malformed declared column before a run starts. The --fast option keeps this first pass focused on static validation. See the Bruin validate command for the checks available in your CLI version.

This command has two useful parts:

  • clickhouse-bruin-101 is the project directory, so Bruin reads its pipeline and all of its assets.
  • --fast avoids running the pipeline or querying every external connection. It is the first check to run after editing an asset definition.

Sign up to our newsletter

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