Skip to content

Examples

Real dbt projects materialized as Delta tables, plus runnable connection-API showcases — every one rebuilt against live Microsoft Fabric OneLake on each push to main.

dbt models materialized by duckrun as Delta tables in a Microsoft Fabric OneLake lakehouse

The DAGs below, materialized — duckrun writes each dbt model as a Delta table, here in a Microsoft Fabric OneLake lakehouse.

dbt projects

Pure SQL — the connection API

These are not dbt projects — they're runnable showcases of duckrun.connect(). Click through for every statement and its actual output from a live run.

  • taxi — live NYC Yellow-Taxi → Delta

    Reads live NYC TLC Yellow-Taxi data straight off https and lands it into Delta on OneLake using nothing but conn.sql(...) — QUALIFY, PIVOT, ROLLUP, ASOF JOIN, a SQL-only upsert, time travel, and a concurrent-MERGE clash.

    source: demo_taxi.py

  • multi-catalog — lakehouse + warehouse + local

    One duckrun.connect() session binding three catalogs: a writable OneLake lakehouse, a read-only Fabric Warehouse (attach(..., read_only=True)), and a local scratch dir. A single conn.sql JOINs across them as catalog.schema.table, the read-only fence refuses a warehouse write, and the mart is written back to the lakehouse.

    source: demo_multicatalog.py