Transformation/SQL and Python pipelinesAnalytics Engineer

How do I run incremental models on DuckDB without hand-writing merge logic?

Declare the materialization strategy in the asset's YAML. Bruin generates the incremental merge or delete+insert for DuckDB, so you describe intent instead of writing boilerplate.

Command

bruin run

Defined in

SQL + YAML

Works with

DuckDB + Bruin CLI

What you get

Incremental materializationmerge strategiesno boilerplate

How it works in code

materialization:
  type: table
  strategy: merge
  incremental_key: updated_at

Run bruin run and Bruin manages the incremental load into DuckDB for you.

SQL and Python, one pipeline

Open source. Define assets, declare dependencies, run the graph with bruin run.

Sign up to our newsletter

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