英文:
Databricks Repo vs Workspace
问题
在Databricks中,我注意到有一个名为'Workspace'的文件夹部分和一个名为'Repos'的文件夹部分,如下所示:
我一直在尝试在线研究它们之间的区别,但没有找到答案。看起来它们似乎用途相同?我可以在这两个地方管理源代码。
它们之间有什么区别吗?在与团队合作时,是否有任何最佳实践建议?
英文:
I noticed that in Databricks, there is a folder section for 'Workspace' and a folder for 'Repos' - as seen below:
I have been trying to research online what the difference is, but no luck. It seems as though they serve the same purpose? I am able to manage source code in both.
Is there any difference between the two? And are there any best practices for which I should use - especially if I am working with a team.
答案1
得分: 1
- Workspace通常是您创建和处理不同语言的笔记本,例如Python、SQL、Scala或R的地方。您还可以添加库、新文件夹或ML流程实验。
-
如您所见,有一个“Users”部分,其中列出了用户的列表。一旦配置了用户,就可以轻松管理每个用户的资源。
-
请参考这个官方微软文档,其中详细介绍了Databricks工作区的信息。
-
Repos基本上用于GIT集成。您可以像下面显示的那样添加您的存储库:
-
我们在想要处理GIT存储库时使用Repos,所有一般的GIT操作都受支持。
-
请参考这个官方微软文档,以完全了解Databricks Repos的功能。
-
所以,据我所知,当您的工作涉及通过GIT进行开发时,您可以选择Databricks Repos。任何不涉及GIT集成的工作都可以通过Databricks Workspace资源自行完成。
英文:
- Workspace is generally where you create and work on notebooks of different languages i.e., Python, SQL, Scala or R. You can also add libraries, new folders or an ML flow experiment
-
As you can see, there is a
Users
section where there is the list of users. Once you configured the users, each of the user's resources can be easily managed. -
Refer to this official Microsoft documentation which has detailed information about Databricks workspace.
-
Repos are basically used for GIT integration. You can add your repository as shown below:
-
We use Repos whenever we want to work our GIT repositories and all the general GIT operations are supported.
-
Refer to this official Microsoft documentation to completely understand the capabilities of Databricks repos.
-
So, as far as I know, you choose Databricks Repos when your work includes development through GIT. Anything that does not involve GIT integration can be carried out through Databricks Workspace resources itself.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论