Repository navigation
Write the warehouse with duckdb 2.0, on datamart v1.5.0 - #33
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
DATAMART_REFdefaultThe 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_REFpointing 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