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

databricks workspace import_dir vs import

Open 0xAndre opened this issue 2 years ago • 0 comments

image

Does it make sense to have this limitation on import_dir?

image

With this known vulnerability, I want to include in pipeline the upload of a folder with init scripts (.sh files), and I have to use import to be able to upload them one by one, iterating through each one.

image

The import cli command allows to upload .sh files, while the import_dir doest not.

Do you know a simpler/better alternative? Would it be feasible to modify import_dir to allow uploading .sh files?

0xAndre avatar Jun 28 '23 10:06 0xAndre