Apache Iceberg Lakehouse with Bronze/Silver/Gold Zones using PySpark and MinIO
Advanced · 60 minutes · 100 points
Build a fully functional data lakehouse inside a single container. You will spin up a local MinIO object store, configure PySpark with the Apache Iceberg catalog, write Parquet data into Iceberg tables organised across bronze, silver, and gold zones, perform schema evolution, and finally use Iceberg time travel to query a historical snapshot. This lab covers the complete modern data lakehouse pattern end-to-end.
What you’ll learn
- Deploy a local MinIO S3-compatible object store and configure PySpark with the Apache Iceberg catalog using S3 storage
- Ingest raw CSV data into a bronze Iceberg table, transform it into a silver table, and aggregate it into a gold table following medallion architecture
- Apply schema evolution to an Iceberg table and use time travel queries to retrieve data from a specific historical snapshot
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 3 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- At least 4GB RAM available for Docker
- Internet access to pull Maven JARs and MinIO binary
Topics: apache-iceberg, pyspark, minio, data-lakehouse, medallion-architecture, schema-evolution, time-travel, parquet, s3, data-engineering
Create a free account to start this lab.