Renaming a folder causes associated Jobs to lose the notebook paths

liu
Databricks Partner

Renaming a folder causes associated Jobs to lose the notebook paths. Is this a deliberate design choice based on some purpose, or just a system limitation?

pradeep_singh
Contributor III

it’s expected. Jobs reference notebooks by absolute workspace path today, so when you rename or move a folder, that path changes and the job won’t automatically update—runs will fail until you edit the task to point at the new path.

What you can do .

  1. Use Git-based Repos instead of workspace paths.
  2. Deploy with Databricks Asset Bundles (paths are managed automatically). 
Thank You
Pradeep Singh - https://www.linkedin.com/in/dbxdev

View solution in original post