databricks-cli icon indicating copy to clipboard operation
databricks-cli copied to clipboard

Databricks workspace import and import_dir should support importing non-code files like images

Open cmenguy opened this issue 2 years ago • 6 comments

Right now it seems databricks workspace import commands only consider code files and require a language.

However this makes things difficult for example if I have a project with notebooks that reference images in a relative path, and I want to import the entire project as the notebook + images using the same path.

It seems this is already supported as in the UI you can already import an image and it just works, so this is likely just a limitation of the CLI.

cmenguy avatar Mar 22 '23 18:03 cmenguy

See also #618

cloudyday avatar Mar 29 '23 11:03 cloudyday

Databricks has deprecated the storage of cluster init scripts in DBFS, suggesting that they instead be stored in Workspace. This feature would therefore also be useful for managing the import of shell scripts into Workspace via scripts and pipelines using the Databricks CLI, which facilitates making this update across multiple environments.

rdunlap-inspire11 avatar May 11 '23 11:05 rdunlap-inspire11