ACID guarantees on a data lake

The four database guarantees, and what each one means once your 'table' is just files in object storage.

The four letters

: a write either fully happens or doesn't happen at all. There is no state where half the new files are visible and half aren't.

: the table always moves from one valid state to another; a failed or partial write never leaves it in a state that violates its own schema or constraints.

: concurrent writers don't see each other's uncommitted changes. Two writes happening at the same time don't interleave into a corrupted result.

: once a write is committed, it survives, even if the cluster that wrote it crashes a moment later.

ACID, mapped to Delta

GuaranteeWhat breaks without itHow Delta provides it
AtomicityReaders see half-written filesLog entry commits all-or-nothing
ConsistencyTable ends up with wrong schema/dataSchema checked before commit
IsolationTwo writers corrupt each other's outputOptimistic concurrency control on the log
DurabilityA committed write can disappearLog entry is a durable file write

Why plain files don't have this

Plain Parquet files in object storage have no transaction boundary. If a job writes 50 files and crashes after 30, there is no mechanism that hides those 30 files or rolls them back; they're just sitting there, half of an incomplete write.

guarantees require something that tracks what counts as 'the table' at any instant, which is exactly what Delta Lake's transaction log provides.

Practice / self-test

1. Which ACID guarantee is specifically about two writers not corrupting each other's output?

Reveal answer

Isolation: concurrent writes don't see or interfere with each other's uncommitted changes.

2. Why don't plain Parquet files in object storage have atomicity on their own?

Reveal answer

There's no transaction boundary. If a multi-file write crashes partway through, the files already written stay on disk with nothing to mark the write as incomplete or roll it back.