← Back to Databricks
4

Delta Table Compaction

CodinghardCommon
data-lakecompactionconcurrencyacid

Reported

7 times

Last seen

2026-03-15

First seen

2025-08-01

Active in

2025, 2026

Description

Design an algorithm to compact small files in a Delta Lake table while maintaining ACID properties and handling concurrent readers/writers.

Approach Tips

Focus on the file selection strategy and how you handle concurrent writes during compaction. Discuss optimistic concurrency control.

Related LeetCode Problem

LC #56 - Merge Intervals

Sources

Blind·SDE-3·2026-03-15
Glassdoor·Senior·2025-10-22
DB

Databricks

Data/AI

Typically appears in: Phone Screen

60 min — 1 coding problem, usually LC medium-hard. Focus on data structures and algorithms.