Interview practice question
Bad update ran on a Delta table
Data Engineering · Databricks · Beginner
Someone ran an UPDATE that set the wrong price on all products in a Delta table. How do you recover?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check DESCRIBE HISTORY to find the version before the bad update.
- Verify data with VERSION AS OF.
- RESTORE TABLE to that version.
- Check if any good writes happened after and reapply them.
- Restrict direct write access on production tables.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.