SpinTheMic
Pro

Interview practice question

Changing a column type on a large production table

Data Engineering · DataOps CI/CD · Intermediate

You need to change a column's data type on a large, heavily used production table without downtime. How do you do it?

What a strong answer covers

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

  • Add a new column with the new type.
  • Backfill in batches.
  • Update writers to fill both columns.
  • Migrate readers to the new column.
  • Drop old column after transition.
Practise this topic

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

See all topics