SpinTheMic
Pro

Interview practice question

Hard-coded dates in a notebook

Data Engineering · Databricks · Beginner

A notebook has the processing date hard-coded, and someone edits it manually for backfills. How do you improve this?

What a strong answer covers

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

  • Use job parameters or widgets to pass the date.
  • Default to the scheduled run date.
  • Backfills become a parameterized run.
  • No code edits needed for reruns.
  • Log the parameter values used.
Practise this topic

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

See all topics