Design a lakehouse-style store for raw and curated datasets in open formats (Parquet, Iceberg/Delta). Ingest batch and streaming data, govern access, and query through SQL engines at huge scale.
Functional requirements
- Landing zone for raw objects with partitioning by time and tenant
- Catalog (Hive/Glue) with table ACID via Iceberg or Delta
- Batch and incremental ingestion from Kafka and OLTP CDC
- Schema evolution, compaction, and small-file merging jobs
- Fine-grained ACLs via IAM or Ranger-style policies
Non-functional requirements
- Exabyte-scale object storage with erasure coding
- Query engines (Spark, Trino) scale-out compute separate from storage
- Lineage and audit for compliance
- Cost controls via lifecycle rules and storage tiers