File & Table Formats
Store analytical data in row and columnar file formats, and manage it with open table formats that add atomic commits, schema evolution and time travel.
3 objectives 6 steps about 150 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Choose between CSV/JSON, Avro and Parquet for a workload by comparing row vs columnar layout, encoding, compression and schema support.
- Explain how object storage differs from a distributed file system such as HDFS, lay out data with partitioning, sorting and target file sizes so engines can prune it, and fix a small-files problem with compaction.
- Create an Iceberg or Delta Lake table, evolve its schema and partitioning, and use snapshots for time travel and rollback, explaining how metadata makes commits atomic.
Lesson plan
6 steps, about 150 min · 5 of 5 lessons available so far
- Row vs Columnar: Inside Avro and Parquet Concept · 25 min
- Lab: The Same Data as CSV, Avro and Parquet Lab · 25 min
- Object Storage, Partitioning and the Small-Files Problem Worked example · 30 min
- Table Formats: Snapshots, Manifests and Atomic Commits Concept · 25 min
- Lab: Evolve, Time-Travel and Compact an Iceberg Table Lab · 30 min
- Check: Review a Storage Layout Knowledge check · 6 questions
Practise it
Convert a multi-gigabyte CSV dataset to Parquet and to an Iceberg table partitioned by day; compare storage size and run time for three queries, add a column and change the partition spec without rewriting old data, then query the table as of an earlier snapshot and roll back a bad write.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.