Lakehouse demo

What is in the lake, and how it is built

Bronze, silver and gold for one data owner, read from its DuckLake catalog at the published snapshot: the folders in its blob container, every table with its columns, the star schema in gold, the lineage from source to semantic layer, and what Cube serves. Metadata only: table and column names, types, row counts and file sizes.

Loading…

The layers

Each step reads only from the layer before it (DATA-001). Bronze keeps everything as extracted, silver is the latest state per source table, gold is the star schema that every consumer reads through the semantic layer.

Folders in the blob container

One container per data owner (SEC-004). DuckLake writes Parquet files under one folder per schema and table; bronze is partitioned by extraction day (DATA-010). The catalog in Postgres says which files belong to which snapshot, so old files stay until maintenance removes them.

Tables

Descriptions, materialisation, contracts and tests come from the dbt project; columns, rows and files from the lake. Open a table to see its columns.

Star schema in gold

Facts (pink) with their grain, joined to conformed dimensions (teal) on surrogate keys (DATA-004, DATA-005). Every line is a dbt relationships test that fails the build when a key has no dimension row.

Lineage: from the source to the semantic layer

dbt's dependency graph, left to right: bronze tables (dbt sources), silver staging models, gold models, and the Cube cubes generated from dbt's semantic YAML (DATA-011, TECH-009).

What Cube serves

Cube Core is generated from dbt's semantic YAML: one cube per semantic model, reading one gold fact at the published snapshot. Public measures are the metrics; internal measures (hidden) are their building blocks. Every front (the pages, the API, the data MCP, the SQL endpoint) reads these, never the tables (INT-004).