06-25-2021 12:01 PM
How do engineering teams out there version control their jobs? If there is a production issue, can I revert to an older version of the job?
06-25-2021 03:19 PM
One option is using Github for version control. You can link a notebook and Databricks syncs your history with Git- which gives you the option to restore an older version if needed. Here are the docs for more details: https://docs.databricks.com/notebooks/github-version-control.html#github-enterpriseebooks/github-version-control.html#github-enterprise
10-27-2023 12:33 AM
@Hayley i knew about notebook but how can we version control the job itself?
10-29-2023 09:49 AM
You can use version controlled source code for you databricks job and each time you need to rollback to older version of your job you need just to move to older version code. For version controlled source code you have multiple choises:
- Use a notebook from a remote Git repository
- Use Python code from a remote Git repository
- Use SQL queries from a remote Git repository
https://docs.databricks.com/en/workflows/jobs/how-to/use-repos.html
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.