SpinTheMic
Pro

Databricks · Beginner

What is Delta Lake?

By Anurag Pandey, Lead Data Engineer ·

The short answer

Delta Lake is an open-source table format: data stored as Parquet files plus a transaction log that adds ACID transactions, schema enforcement, time travel and MERGE, UPDATE and DELETE. It's the default table format on Databricks.

Practice this out loud

Opens this question on SpinTheMic. Start without signing up; sign in free for an AI report card.

Say it like this

About 50 seconds out loud. Use it as a model, then put it in your own words.

Delta Lake is an open-source storage format that makes files in cloud storage behave like a reliable database table. The data itself is ordinary Parquet files. What Delta adds is a transaction log, a folder called _delta_log next to the data, that records every change to the table as an ordered commit. Because every write goes through that log, I get ACID transactions: readers never see half-written data, and two writers can't silently overwrite each other. The log also gives me time travel, so I can query an older version of the table, plus schema enforcement, and commands like MERGE, UPDATE and DELETE on files that are normally append-only. And the same table works for batch and streaming. On Databricks, Delta is the default format for tables.

What interviewers look for

  • You explain it as Parquet files plus a transaction log.
  • You connect the log to ACID, time travel and MERGE.
  • You say why it matters compared with plain Parquet files.

Common mistakes

  • Calling Delta Lake a database or a separate storage service.
  • Saying data is stored in a proprietary format. The data files are Parquet.
  • Listing features without explaining that the log is what makes them possible.

Follow-up questions to expect

  1. 1How does Delta Lake handle two jobs writing at the same time?
  2. 2How would you query a table as it was last week?
  3. 3What does VACUUM do, and how does it affect time travel?
Practice this out loud

Opens this question on SpinTheMic. Start without signing up; sign in free for an AI report card.

Checked against

All interview question guides