
This chapter demonstrates a PySpark program that creates dummy inventory data, writes it to parquet and CSV, partitions by category, and contrasts file format with the Iceberg table approach.
Learn to run PySpark with Iceberg on Google Colab by setting up Spark and Hadoop, checking PySpark config, and creating and validating the inventory table and metadata files.
Create two external tables over a csv file and a parquet file in Databricks using a Hive table format with header and inferred schema, enabling seamless queries via the catalog.
Discover how lakehouse combines storage and compute, and how the iceberg table format enables ac transactions, time travel, and partition evolution through explicit configuration.
Demonstrates deleting records from an Apache Iceberg table without partitioning using Spark 3.5 in a Google Colab notebook, and analyzes resulting metadata and data file changes.
Explore iceberg built-in metadata tables—history, metadata log entries, snapshots, and manifests—and see how inserts, deletes, and updates reveal data evolution, enabling time travel and strong observability.
Master the time travel feature of Apache Iceberg tables by using version as of or timestamp as of to view and roll back data via snapshot IDs and metadata table.
Explore Apache Iceberg, compare with Hive tables and Parquet, and learn to set up Databricks and Google Colab to build, query, DDL and DML, and time travel to past snapshots.
This course offers a practical, hands-on introduction to Apache Iceberg, the modern open table format designed for today’s large-scale data lakes and lakehouses. Whether you’re a data engineer, developer, or architect, this course will help you understand and apply Iceberg concepts through real-world exercises—without the need for any infrastructure setup.
You’ll learn to create, query, and manage Iceberg tables using PySpark in both Databricks Community Edition and Google Colab—two free platforms accessible from your browser. We cover everything from understanding table formats, DDL and DML operations, partition evolution, schema evolution, metadata tables, and Iceberg’s powerful time travel capability.
All code and sample data are provided chapter by chapter. You’ll generate data on the fly, inspect table structures, and compare metadata files using VS Code and online JSON viewers. No local installation, no external datasets—just clear, interactive learning.
What You’ll Learn
Key differences between file formats and table formats in big data
How to create and manage Apache Iceberg tables using PySpark
Comparing Hive tables and Iceberg with practical demos
Running Iceberg on Databricks and Google Colab (setup included)
Performing DDL and DML operations (insert, update, delete)
Using Iceberg’s built-in metadata tables to inspect file-level and snapshot info
Implementing time travel to query historical data versions
Understanding how Iceberg handles schema evolution and partition changes
Comparing Iceberg with Delta Lake and Hudi in practical scenarios
By the end of the course, you’ll have a strong working knowledge of Apache Iceberg and be ready to use it in real-world data projects with confidence.