Databricks 访问本地笔记本

Databricks Access local notebook

我在 Databricks 上创建了一些笔记本,我想访问它们。一台笔记本有本地路径

/Users/test@gmx.de/sel2

如果我现在尝试通过

访问目录
%fs /Users/test@gmx.de

我收到一条错误消息,指出找不到本地目录。

我哪里做错了?

非常感谢!

笔记本不是位于文件系统上的真实对象。 Notebook 是内存中的表示形式,存储在 Databricks 管理的控制平面的数据库中。这是来自 documentation 的架构图:

如果您想将笔记本导出到本地文件系统,您可以通过 databricks cli or via UI. Or you can include it into another notebook via %run, or execute it from another notebook with notebook workflow (dbutils.notebook.run) 来完成。您可以 运行 使用 Nutter 等工具在其中进行测试。