
The assignment asks for a Docker Lakehouse prototype, an auditable central Data Vault and a repeatable analytical load.
Responsibilities
Trino runs SQL and reads Iceberg tables. The REST catalogue resolves table identifiers and records metadata commits. Iceberg tracks schemas, files and snapshots, while MinIO stores the actual objects. Skeleton uses Nessie backed by PostgreSQL on its existing k0s deployment; the assignment build uses the provided Compose catalogue.
Source and business keys
The tiny TPC-H dataset contains customers, orders, line items, parts, suppliers, part–supplier pairs, nations and regions. An order is identified by orderkey and a line by orderkey plus linenumber. Four hubs hold the customer, order, part and supplier business keys. Links capture order–customer and line relationships. Two satellites hold versioned order values and line attributes.
Incremental load
Batch 0 records the 15,000 baseline orders. Batch 1 corrects one order by adding 10 to its value. Batch 2 restores its original value. The pair of order hash key and batch ID is the replay key. The hashdiff identifies the attribute values, so the same hashdiff can occur in two legitimate revisions.
Reporting and observed results
Sales groups order count and latest order value by month and customer segment. Supply groups line count, units and discounted value before tax by shipment month and supplier nation. An isolated SQL run on Skeleton produced 400 sales rows and 2,072 supply rows from 60,175 line items. The three merges inserted 15,000, 2 and 0 rows. All eight SQL quality checks passed. Running the standalone Docker Compose remains a separate acceptance step.
Original assignment
Related projects, disciplines and materials
Source code · 24ddb06c6ed9c3471f8aab98f4ac967b8e7519b7