cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!