SpinTheMic
Pro

Interview practice question

Duplicate records in a silver table

Data Engineering · Databricks · Beginner

Your silver Delta table has duplicate rows after a job was rerun. How do you fix it and prevent it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Rerun appended the same data again.
  • Deduplicate the table, keeping the latest version per key.
  • Switch the write from append to MERGE on the business key.
  • Or use replaceWhere for date-based reloads.
  • Add a uniqueness check after load.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics