Databricks Repo与工作区

huangapple go评论70阅读模式
英文:

Databricks Repo vs Workspace

问题

在Databricks中,我注意到有一个名为'Workspace'的文件夹部分和一个名为'Repos'的文件夹部分,如下所示:

Databricks Repo与工作区

我一直在尝试在线研究它们之间的区别,但没有找到答案。看起来它们似乎用途相同?我可以在这两个地方管理源代码。

它们之间有什么区别吗?在与团队合作时,是否有任何最佳实践建议?

英文:

I noticed that in Databricks, there is a folder section for 'Workspace' and a folder for 'Repos' - as seen below:

Databricks Repo与工作区

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流程实验。

Databricks Repo与工作区

  • 如您所见,有一个“Users”部分,其中列出了用户的列表。一旦配置了用户,就可以轻松管理每个用户的资源。

  • 请参考这个官方微软文档,其中详细介绍了Databricks工作区的信息。

  • Repos基本上用于GIT集成。您可以像下面显示的那样添加您的存储库:

Databricks Repo与工作区

  • 我们在想要处理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

Databricks Repo与工作区

  • 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:

Databricks Repo与工作区

  • 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.

huangapple
  • 本文由 发表于 2023年1月9日 01:16:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/75049844.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定