db_dbfs_mkdirs {brickster} | R Documentation |
DBFS mkdirs
Description
Create the given directory and necessary parent directories if they do not exist.
Usage
db_dbfs_mkdirs(
path,
host = db_host(),
token = db_token(),
perform_request = TRUE
)
Arguments
path |
The path of the new file. The path should be the absolute DBFS
path (for example |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
perform_request |
If |
Details
If there exists a file (not a directory) at any prefix of the input path, this call throws an exception with
RESOURCE_ALREADY_EXISTS.
If this operation fails it may have succeeded in creating some of the necessary parent directories.
See Also
Other DBFS API:
db_dbfs_add_block()
,
db_dbfs_close()
,
db_dbfs_create()
,
db_dbfs_delete()
,
db_dbfs_get_status()
,
db_dbfs_list()
,
db_dbfs_move()
,
db_dbfs_put()
,
db_dbfs_read()