Lakehouse Architect
Design data lakehouse architectures using Delta Lake, Apache Iceberg, or Apache Hudi for ACID transactions, time travel, and schema evolution on object storage.
Activation Triggers
Activate on: "lakehouse", "Delta Lake", "Apache Iceberg", "Hudi", "table format", "ACID on S3", "time travel", "data lake", "open table format", "Databricks", "catalog"
NOT for: Warehouse query tuning → data-warehouse-optimizer | Streaming pipeline design → streaming-pipeline-architect | Data quality rules → data-quality-guardian
Quick Start
- Choose table format — Iceberg (vendor-neutral, widest engine support), Delta Lake (Databricks ecosystem), Hudi (Uber/AWS)
- Set up catalog — Unity Catalog, AWS Glue, Nessie, or Hive Metastore for table discovery
- Design medallion layers — Bronze (raw), Silver (cleaned), Gold (business-ready)
- Enable compaction — schedule file compaction to avoid small file problem
- Configure retention — time travel retention + vacuum/expire snapshots for cost control
Core Capabilities
| Domain |
Technologies |
| Table Formats |
Apache Iceberg 1.7+, Delta Lake 3.x, Apache Hudi 1.x |
| Compute |
Spark 3.5+, Trino, DuckDB, Snowflake (Iceberg), Flink |
| Catalogs |
Unity Catalog, AWS Glue, Nessie, REST Catalog, Polaris |
| Storage |
S3, GCS, ADLS, MinIO |
| Managed |
Databricks Lakehouse, AWS Lake Formation, Snowflake Iceberg |
Architecture Patterns
Medallion Architecture
Bronze (Raw) Silver (Cleaned) Gold (Business)
───────────── ──────────────── ───────────────
Raw JSON/CSV/Parquet → Typed, deduplicated → Aggregated, modeled
Append-only → Merge/upsert → Materialized views
Schema-on-read → Schema enforced → Star schema
Full history → Latest + SCD Type 2 → Pre-aggregated metrics
Storage: S3/GCS All layers use Iceberg/Delta
Format: Parquet ACID transactions at each layer
Apache Iceberg Table Management
-- Create Iceberg table with partitioning
CREATE TABLE catalog.silver.orders (
order_id STRING,
customer_id STRING,
amount DECIMAL(10,2),
status STRING,
order_date DATE,
_loaded_at TIMESTAMP
)
USING iceberg
PARTITIONED BY (days(order_date))
TBLPROPERTIES (
'write.metadata.delete-after-commit.enabled' = 'true',
'write.metadata.previous-versions-max' = '100'
);
-- Upsert (merge) new data
MERGE INTO catalog.silver.orders t
USING staging.new_orders s
ON t.order_id = s.order_id
WHEN MATCHED THEN UPDATE SET *
WHEN NOT MATCHED THEN INSERT *;
-- Time travel: query as of yesterday
SELECT * FROM catalog.silver.orders
FOR SYSTEM_TIME AS OF TIMESTAMP '2026-03-19 00:00:00';
-- Maintenance: compact small files
CALL catalog.system.rewrite_data_files('silver.orders');
CALL catalog.system.expire_snapshots('silver.orders', TIMESTAMP '2026-03-01');
Table Format Comparison
Feature Iceberg Delta Lake Hudi
────────── ─────── ────────── ────
ACID transactions Yes Yes Yes
Time travel Yes Yes Yes
Schema evolution Full Full Full
Partition evolution Yes (hidden) No (requires Limited
rewrite)
Engine support Widest Spark/Databricks Spark/Flink
Catalog REST/Nessie Unity/Hive Hive
Community Apache Linux Foundation Apache
Best for Multi-engine Databricks users CDC workloads
Anti-Patterns
- Small files — ingesting many tiny files (< 128MB) destroys read performance; run compaction on schedule
- No vacuum/expiration — time travel metadata accumulates forever; set retention policy and schedule cleanup
- Partitioning by high cardinality — partitioning by user_id creates millions of partitions; use date or low-cardinality columns
- Ignoring catalog — without a catalog, tables are just files on S3 that nobody can discover; always register in a catalog
- Mixing table formats — pick one format per lakehouse; mixing Iceberg and Delta creates tooling and governance complexity
Quality Checklist
1---
2license: Apache-2.0
3name: lakehouse-architect
4description: "Delta Lake, Apache Iceberg, Hudi for ACID transactions on object storage. Activate on: lakehouse, Delta Lake, Iceberg, Hudi, table format, ACID on S3, time travel, data lake, open table format. NOT for: warehouse query tuning (use data-warehouse-optimizer), streaming ingestion (use streaming-pipeline-architect)."
5allowed-tools: Read,Write,Edit,Bash(npm:*,npx:*,python:*,spark-submit:*)
6category: Data & Analytics
7tags:
8 - lakehouse
9 - delta-lake
10 - iceberg
11 - data-lake
12 - object-storage
13pairs-with:
14 - skill: data-warehouse-optimizer
15 reason: Lakehouses complement or replace traditional warehouses
16 - skill: streaming-pipeline-architect
17 reason: Streaming data lands in lakehouse tables
18 - skill: data-cost-optimizer
19 reason: Lakehouse architecture dramatically reduces storage costs
20metadata:
21 source: https://skillmd.com/skills/curiositech/lakehouse-architect
22---
23
24# Lakehouse Architect
25
26Design data lakehouse architectures using Delta Lake, Apache Iceberg, or Apache Hudi for ACID transactions, time travel, and schema evolution on object storage.
27
28## Activation Triggers
29
30**Activate on:** "lakehouse", "Delta Lake", "Apache Iceberg", "Hudi", "table format", "ACID on S3", "time travel", "data lake", "open table format", "Databricks", "catalog"
31
32**NOT for:** Warehouse query tuning → `data-warehouse-optimizer` | Streaming pipeline design → `streaming-pipeline-architect` | Data quality rules → `data-quality-guardian`
33
34## Quick Start
35
361. **Choose table format** — Iceberg (vendor-neutral, widest engine support), Delta Lake (Databricks ecosystem), Hudi (Uber/AWS)
372. **Set up catalog** — Unity Catalog, AWS Glue, Nessie, or Hive Metastore for table discovery
383. **Design medallion layers** — Bronze (raw), Silver (cleaned), Gold (business-ready)
394. **Enable compaction** — schedule file compaction to avoid small file problem
405. **Configure retention** — time travel retention + vacuum/expire snapshots for cost control
41
42## Core Capabilities
43
44| Domain | Technologies |
45|--------|-------------|
46| **Table Formats** | Apache Iceberg 1.7+, Delta Lake 3.x, Apache Hudi 1.x |
47| **Compute** | Spark 3.5+, Trino, DuckDB, Snowflake (Iceberg), Flink |
48| **Catalogs** | Unity Catalog, AWS Glue, Nessie, REST Catalog, Polaris |
49| **Storage** | S3, GCS, ADLS, MinIO |
50| **Managed** | Databricks Lakehouse, AWS Lake Formation, Snowflake Iceberg |
51
52## Architecture Patterns
53
54### Medallion Architecture
55
56```
57Bronze (Raw) Silver (Cleaned) Gold (Business)
58───────────── ──────────────── ───────────────
59Raw JSON/CSV/Parquet → Typed, deduplicated → Aggregated, modeled
60Append-only → Merge/upsert → Materialized views
61Schema-on-read → Schema enforced → Star schema
62Full history → Latest + SCD Type 2 → Pre-aggregated metrics
63
64Storage: S3/GCS All layers use Iceberg/Delta
65Format: Parquet ACID transactions at each layer
66```
67
68### Apache Iceberg Table Management
69
70```sql
71-- Create Iceberg table with partitioning
72CREATE TABLE catalog.silver.orders (
73 order_id STRING,
74 customer_id STRING,
75 amount DECIMAL(10,2),
76 status STRING,
77 order_date DATE,
78 _loaded_at TIMESTAMP
79)
80USING iceberg
81PARTITIONED BY (days(order_date))
82TBLPROPERTIES (
83 'write.metadata.delete-after-commit.enabled' = 'true',
84 'write.metadata.previous-versions-max' = '100'
85);
86
87-- Upsert (merge) new data
88MERGE INTO catalog.silver.orders t
89USING staging.new_orders s
90ON t.order_id = s.order_id
91WHEN MATCHED THEN UPDATE SET *
92WHEN NOT MATCHED THEN INSERT *;
93
94-- Time travel: query as of yesterday
95SELECT * FROM catalog.silver.orders
96 FOR SYSTEM_TIME AS OF TIMESTAMP '2026-03-19 00:00:00';
97
98-- Maintenance: compact small files
99CALL catalog.system.rewrite_data_files('silver.orders');
100CALL catalog.system.expire_snapshots('silver.orders', TIMESTAMP '2026-03-01');
101```
102
103### Table Format Comparison
104
105```
106Feature Iceberg Delta Lake Hudi
107────────── ─────── ────────── ────
108ACID transactions Yes Yes Yes
109Time travel Yes Yes Yes
110Schema evolution Full Full Full
111Partition evolution Yes (hidden) No (requires Limited
112 rewrite)
113Engine support Widest Spark/Databricks Spark/Flink
114Catalog REST/Nessie Unity/Hive Hive
115Community Apache Linux Foundation Apache
116Best for Multi-engine Databricks users CDC workloads
117```
118
119## Anti-Patterns
120
1211. **Small files** — ingesting many tiny files (< 128MB) destroys read performance; run compaction on schedule
1222. **No vacuum/expiration** — time travel metadata accumulates forever; set retention policy and schedule cleanup
1233. **Partitioning by high cardinality** — partitioning by user_id creates millions of partitions; use date or low-cardinality columns
1244. **Ignoring catalog** — without a catalog, tables are just files on S3 that nobody can discover; always register in a catalog
1255. **Mixing table formats** — pick one format per lakehouse; mixing Iceberg and Delta creates tooling and governance complexity
126
127## Quality Checklist
128
129- [ ] Table format chosen consistently (Iceberg recommended for multi-engine)
130- [ ] Catalog registered for all tables (discovery and governance)
131- [ ] Medallion architecture: Bronze → Silver → Gold layers
132- [ ] Partition strategy uses low-cardinality columns (date, region)
133- [ ] File compaction scheduled (daily or hourly for high-volume tables)
134- [ ] Snapshot expiration configured (retain 7-30 days of time travel)
135- [ ] Schema evolution tested (add columns, change types where safe)
136- [ ] ACID merge/upsert used instead of overwrite for Silver layer
137- [ ] Storage costs monitored per layer with lifecycle policies
138- [ ] Query engines tested against lakehouse tables (Spark, Trino, DuckDB)