Skip to content

Write the warehouse with duckdb 2.0, on datamart v1.5.0 - #33

Merged
cnstlungu merged 1 commit into
mainfrom
duckdb-2.0
Oct 26, 2026
Merged

cnstlungu merged 1 commit into
mainfrom
duckdb-2.0

Conversation

@cnstlungu

Copy link
Copy Markdown
Owner

Why

datamart v1.5.0 moves Superset to 6.1 with duckdb 2.0. Superset only needs to be at least as new as the pipeline that writes the warehouse: a newer duckdb opens every older file, but not the reverse. So this stack's pipeline can follow it to 2.0 now, while SQLMesh (duckdb<2) and Mage (a Python 3.10 image) stay on 1.5.6.

What

Pin From To
DATAMART_REF default v1.4.0 v1.5.0 (Superset 6.1, duckdb 2.0)
duckdb (pipeline) 1.5.6 2.0.0

The requirements comment now states the rule: this pin can move up to Superset's, never past it.

Note on the file format. The README and CI both start from shared/db/datamart.duckdb.example, an empty 1.x-format file. DuckDB 2.0 keeps a file's existing format when it writes to it, so a warehouse started that way stays readable by 1.x tools. Only a warehouse created fresh by 2.0 uses the new format. The datamart's dbt CI covers that path: it builds a fresh warehouse with 2.0 and reads it back with Superset's duckdb.

Tested

Before the tag, this stack's CI steps were run locally in Docker, with DATAMART_REF pointing at the datamart branch: build, start, run the pipeline, check_warehouse.py, then Superset reading the warehouse. The datamart PR covers Superset 6.1 rendering every chart from a 2.0-written warehouse.

🤖 Generated with Claude Code

datamart v1.5.0 moves Superset to 6.1 with duckdb 2.0. Superset only has
to be at least as new as the pipeline that writes the warehouse, so this
stack's pipeline can follow it to 2.0 without waiting for SQLMesh or Mage.

The requirements comment now states that rule. It used to say the two pins
must stay equal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cnstlungu
cnstlungu merged commit e8d65c4 into main Oct 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant