Implement stack lake deploy: create Iceberg schemas and tables from SQLTable models #14

Closed
opened 2026-03-12 17:39:12 +00:00 by kert · 0 comments
Owner

Generate and execute CREATE NAMESPACE / CREATE TABLE statements:

  • Walk all SQLTable subclasses, group by schema
  • Generate Iceberg DDL using SQLTable.to_ddl() adapted for Iceberg
  • Deploy via Nessie catalog REST API or Trino connection
  • Idempotent: skip existing tables, alter for new columns
  • Add [lake] section details to stack.toml if needed
Generate and execute CREATE NAMESPACE / CREATE TABLE statements: - Walk all SQLTable subclasses, group by schema - Generate Iceberg DDL using SQLTable.to_ddl() adapted for Iceberg - Deploy via Nessie catalog REST API or Trino connection - Idempotent: skip existing tables, alter for new columns - Add [lake] section details to stack.toml if needed
kert added this to the P4: Lakehouse — Nessie, Polaris, Trino, Iceberg milestone 2026-03-12 17:39:12 +00:00
kert added the lakehousecli labels 2026-03-12 17:39:12 +00:00
kert closed this issue 2026-03-12 21:07:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#14