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.

The DAGs below, materialized — duckrun writes each dbt model as a Delta table, here in a Microsoft Fabric OneLake lakehouse.
dbt projects¶
-
The AEMO dbt project built against live Microsoft Fabric OneLake (
abfss://). Full catalog with column metadata over the real Delta tables. -
The incremental-MERGE spill benchmark (
merge_spill_bench): a chain of merge / append / overwrite ops on a TPCHlineitem. Built for real on a tiny scale factor, so the catalog carries Delta stats. The heavy 60M-row spill run is a separate release gate.source: djouallah/duckrun
-
The coffee-shop scenario (
coffee_shop): ingest two dimension CSVs over https, dedup the SCD2 product dim, generate an N-row fact partitioned by region, and a revenue mart. Built for real on OneLake, so the catalog carries Delta stats. -
The
josephmachado/simple_dbt_projectport: raw tables → bronze typing → a Delta-backed SCD2 snapshot of the customer dim → a merge-incremental clickstream fact → theorders_obtgold mart joined through the SCD2 validity window.source: josephmachado/simple_dbt_project
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
httpsand lands it into Delta on OneLake using nothing butconn.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 singleconn.sqlJOINs across them ascatalog.schema.table, the read-only fence refuses a warehouse write, and the mart is written back to the lakehouse.source: demo_multicatalog.py