SpinTheMic
Pro

Interview practice question

Deleted records still in the warehouse

Data Engineering · Data Warehousing · Beginner

Records deleted in the source system still appear in the warehouse because loads are incremental by updated_at. How do you fix it?

What a strong answer covers

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

  • Timestamp-based incremental loads don't see hard deletes.
  • Use log-based CDC to capture deletes.
  • Or periodically compare source keys with warehouse keys.
  • Mark deleted rows with a flag or remove them.
  • Ask the source for soft deletes if possible.
Practise this topic

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

See all topics