cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Version control jobs

User16826990884
New Contributor III

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?

3 REPLIES 3

Hayley
New Contributor III
New Contributor III

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-enterprisehistoryebooks/github-version-control.html#github-enterprise

ashdam
New Contributor III

@Hayley  i knew about notebook but how can we version control the job itself?

Rom
New Contributor III

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

Welcome to Databricks Community: Lets learn, network and celebrate together

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.