Hello @Anshal
Thanks for the question and using MS Q&A platform.
To share notebooks in Azure Databricks, you can follow these steps:
- If you and your colleague are working on the same workspace, you can simply share the notebook by clicking on the "Share" button in the notebook editor.
For more details, refer to Collaborate using Databricks notebooks
- If you and your colleague are working on different workspaces, you can export the notebook as a .dbc file and share it with your colleague. They can then import the .dbc file into their workspace by clicking on the "Import" button in the notebook editor.
There are couple of options to share the notebooks across workspaces.
Option1: Repos for Git integration
Databricks Repos provides repository-level integration with Git providers. You can develop code in an Azure Databricks notebook and sync it with a remote Git repository. Databricks Repos lets you use Git functionality such as cloning a remote repo, managing branches, pushing and pulling changes, and visually comparing differences upon commit.
Databricks Repos also provides an API that you can integrate with your CI/CD pipeline.
For more information about best practices for code development using Databricks Repos, see Best practices for integrating Databricks Repos with CI/CD workflows.
Option2: Continuous integration and delivery on Azure Databricks using Azure DevOps that moves the code from one Workspace to the other Workspace.
Hope this helps. Do let us know if you any further queries.
Please don’t forget to Accept Answer
wherever the information provided helps you, this can be beneficial to other community members.