SpinTheMic
Pro

Interview practice question

Write failed because of a new column

Data Engineering · Databricks · Beginner

A job writing to a Delta table fails with a schema mismatch error after the source added a new column. How do you handle it?

What a strong answer covers

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

  • Delta schema enforcement blocked the write.
  • Confirm the new column is expected and valid.
  • Allow evolution with mergeSchema for that write.
  • Or explicitly ALTER TABLE ADD COLUMN.
  • Don't enable blanket schema evolution without control.
Practise this topic

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

See all topics