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
Databricks Employee
Databricks Employee

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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group