Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Which Version of the Table Did the Model Read?

How Could Readers Agree While Files Were Changing?

BOTIE

A training job may read a collection of files while another job is replacing part of that collection. Seeing only half of an update can produce a dataset that no writer intended to publish. The problem is deciding which files belong together as one complete table state.

Delta Lake puts a transaction log alongside the data files. A successful commit records which files form the next table version. A reader can use one committed version even while later work creates another. Databricks released Delta Lake as an open-source project on April 24, 2019; the 2020 research paper explained the design for reliable analytical tables over object storage.

Spark performs the table calculation. Delta Lake supplies the versioned table storage that this read relies on. On the floor we keep full local snapshots so you can see exactly which records a version selects. The real format uses its log and retained files to reconstruct that state.

Sources for this history