What Is Delta Lake? Parquet Plus a Transaction Log, Explained

Open a Delta Lake table and you will find a folder of Parquet files and one extra folder called _delta_log. That one folder is the whole idea. Delta Lake keeps the data in Parquet and adds a transaction log that records every change, which is what turns a pile of files into something that behaves like a database table.

Open the Parquet Viewer

Delta Lake is a table format, not a new file type

Delta Lake is an open-source storage layer that adds reliability to data lakes. The data is stored in Parquet. What Delta adds is a log of changes. So a Delta table is Parquet files plus a log, and a Parquet file is still just a Parquet file.

What is inside a Delta table

my_table/
  part-0001.snappy.parquet
  part-0002.snappy.parquet
  _delta_log/
    00000000000000000000.json
    00000000000000000001.json
    00000000000000000010.checkpoint.parquet
  • **Data files.** Parquet files that hold the rows.
  • **Commit files.** Each numbered JSON file in _delta_log is one committed transaction. It lists what changed, such as data files added or removed, or a schema change.
  • **Checkpoints.** Replaying a long history is slow, so Delta periodically saves a checkpoint file in Parquet format in the same folder. It summarises the table state up to that point.

How a read and a write work

To read, an engine reads the log (starting from the latest checkpoint), works out which data files are currently part of the table, then reads those Parquet files. To write, a job writes new data files and then tries to add the next numbered commit file. If the commit file is written, the change exists. If it is not, the new data files are ignored, so a crashed job never leaves a half-written table visible. Concurrent writers follow an optimistic protocol: each tries to write the next log entry and checks for conflicts first.

What the log gives you

  • **ACID transactions.** Changes are all or nothing.
  • **Time travel.** Because the log keeps the history, you can query the table as it was at an earlier version.
  • **An audit trail.** The log records what changed and when.
  • **Schema enforcement and evolution.** Writes that do not match the table schema can be rejected, and the schema can be changed in a controlled way.

Things to know

  • Delta data files are Parquet only. Iceberg, by comparison, can use Parquet, Avro or ORC.
  • Delta grew up around Apache Spark and Databricks. Other engines can read Delta tables too, but check support for your engine and version.
  • Old data files are not deleted straight away, because time travel needs them. You clean them up with a vacuum job, which also removes your ability to travel back past that point.

Looking inside a Delta table

You can open one of the Parquet data files in the Parquet viewer to see its columns and rows. That shows what is in that file, not the current state of the table. To know which files are current you need the log. If you are starting from a CSV and want a Databricks Delta table, see CSV to Databricks Delta.

Open the Parquet Viewer

Related tool pages

  • JSON, CSV, Parquet and Excel Converter: Convert between JSON, CSV, Parquet and Excel online for free, one file or a whole folder. It runs in your browser, so nothing is uploaded.
  • Avro Viewer Online: Open .avro Files: Open and view an Avro (.avro) file online: see the schema and records as a table, then save as CSV, JSON, Excel or Parquet. Free, no upload.
  • Avro to CSV Converter: Convert an Avro file to CSV online. Nested records are flattened. Free, private, runs in your browser.
  • CSV to Avro Converter: Convert CSV to an Avro (.avro) file online. Column types are detected and written into the Avro schema. Free and private: nothing is uploaded.
  • Avro to JSON Converter: Convert an Avro file to JSON online. Nested records, arrays and maps stay nested. Free, private, no upload.
  • JSON to Avro Converter: Convert JSON to an Avro (.avro) file online. The schema is built from your data. Free, private, no upload.

Also try

How to use the Parquet Viewer: step by step

  1. Open a Parquet data file from the table in the Parquet viewer.
  2. Check its columns and rows.
  3. Use the _delta_log to know which files are currently part of the table.

When to use the Parquet Viewer

  • Understand what is inside a Delta table
  • See how Delta differs from plain Parquet
  • Prepare a CSV for a Delta table
  • Debug what a job wrote

Example

Input: data.parquet

Output: A table you can read, plus CSV or JSON

Frequently asked questions

Is Delta Lake the same as Parquet?

No. Delta Lake stores its data in Parquet files and adds a transaction log. The log is what gives it transactions and time travel.

What is the _delta_log folder?

The transaction log. Each numbered JSON file is one committed transaction, and checkpoint files summarise the table state so readers do not replay the whole history.

How does Delta Lake time travel work?

The log keeps the history of changes, so an engine can work out which files made up the table at an earlier version and read those.

Can Delta Lake use ORC or Avro files?

No. Delta Lake data files are Parquet.

Can I open a Delta table in Data Utility?

You can open a single Parquet data file from it in the Parquet viewer. The tool does not read the transaction log, so it cannot show the current table state.

Tip: Do not delete files from a Delta table folder by hand. The log still lists them, and the table will break.