Interview practice question
Concurrent MERGE conflicts
Data Engineering · Databricks · Intermediate
Two jobs MERGE into the same Delta table and one keeps failing with ConcurrentAppendException. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Optimistic concurrency detected overlapping changes.
- Add partition or date predicates so jobs touch separate data.
- Enable deletion vectors and row-level concurrency where supported.
- Serialize the jobs if they truly overlap.
- Add retries with backoff for rare conflicts.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.