inflearn logo

Anatomy of Data Analysis with DuckDB, Parquet, and Iceberg

A 40-lesson architecture course that examines how storage formats and execution engines work under the hood before you spin up a distributed cluster when aggregating millions of rows of orders and logs runs slowly or runs out of memory in CSV and Pandas. Through slide diagrams and explanations of key SQL and Python code, you’ll learn how Parquet’s binary format, the DuckDB 2.0 vectorized engine, Apache Arrow, and Iceberg v2 snapshots work—and use the QuackLake reference code attached to Lesson 1 to reproduce and verify the results on your own computer.

2 learners are taking this course

Level Intermediate

Course period Unlimited

duckdb
duckdb
Apache Parquet
Apache Parquet
apache-iceberg
apache-iceberg
Apache Arrow
Apache Arrow
SQL
SQL
duckdb
duckdb
Apache Parquet
Apache Parquet
apache-iceberg
apache-iceberg
Apache Arrow
Apache Arrow
SQL
SQL

What you will gain after the course

  • Can explain the gap in disk I/O and parsing costs between row storage (CSV·RDB) and column storage (Parquet) in terms of bytes and footer/row group structure.

  • Understand DuckDB’s 2,048-row vectorized execution, morsel parallelism, and disk spilling, and use EXPLAIN ANALYZE query plans to identify query bottlenecks and failed filter pushdown.

  • You can identify Hive partitioning pitfalls and the causes of small-file proliferation, and establish design criteria for file compaction, Z-Order sorting, and HTTP Range partial reads.

  • You can understand Apache Arrow’s zero-copy memory format, streaming batches, vectorized UDFs, and federated query architecture for operational databases (SQLite and PostgreSQL), with code explanations.

  • You can determine whether to adopt a single-machine or distributed engine based on Apache Iceberg v2’s three-layer metadata architecture, optimistic concurrency commits, Field ID–based schema evolution, time travel, and the trade-offs between CoW and MoR.

Recommended for
these people

Who is this course right for?

  • Backend and data developers who face latency and OOM issues when aggregating millions of order and log rows with Pandas or an RDB, and want to understand storage formats and engine internals inside and out.

  • An intermediate-level engineer looking to understand the architectural designs and principles that make Parquet, DuckDB, Arrow, and Iceberg fast, beyond basic SQL and Python usage.

  • Practitioners who want to make an evidence-based assessment of the limits and cost structure of single-server analytics before adopting a Spark cluster or a paid cloud data warehouse.

  • For those who have encountered failures from simply overwriting a Parquet folder and want to systematically learn Apache Iceberg’s design principles for snapshots, schema evolution, and maintenance.

Need to know before starting?

  • This course is suitable for learners with experience using basic SQL queries (SELECT, GROUP BY, JOIN) and Python syntax. It focuses on slide-based diagrams, explanations of key code, and analysis of real-world measurements. Using the reference code ZIP attached to Lesson 1, you can reproduce the examples locally for free in a Python environment on macOS, Windows, or Linux—without paid cloud services or Docker.

Hello
This is catgpt

A through-and-through AI researcher, 'CatGPT', who busted their ass reading papers and fine-tuning models. Then one day, a bolt-from-the-blue mission landed in their lap: "You’ve finished building the model, right? Now write the front end and back end too so we can deliver it to the client."

To survive, I was forced to make a tearful career change into a full-stack developer. After successfully delivering the solution and making it back, AI had advanced so much that this time, instead of coding, I found myself taking on the role of a PM coordinating a team with AI...!

Not stopping there, this max-level engineer went all in and poured their full-stack soul into building a “lecture production automation pipeline” and even bringing an “AI instructor” to life. What fate awaits CatGPT, the full-stack AI engineer who has automated even their own livelihood(?)!

More

Curriculum

All

40 lectures ∙ (5hr 36min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

catgpt's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$532,059.00

48%

$38.50