Additional list content methods for Databricks connectors implemented for
connector::upload_directory_cnt()
:
ConnectorDatabricksVolume: Reuses the
connector::upload_directory_cnt()
method for ConnectorDatabricksVolume, but always sets thecatalog
,schema
andpath
as defined in when initializing the connector.
Usage
upload_directory_cnt(
connector_object,
src,
dest,
overwrite = zephyr::get_option("overwrite", "connector"),
open = FALSE,
...
)
# S3 method for class 'ConnectorDatabricksVolume'
upload_directory_cnt(
connector_object,
src,
dest = basename(src),
overwrite = zephyr::get_option("overwrite", "connector"),
open = FALSE,
...
)
Arguments
- connector_object
Connector The connector object to use.
- src
character Path to the directory to upload
- dest
character The name of the new directory to place the content in
- overwrite
Overwrite existing content if it exists in the connector? See connector-options for details. Default can be set globally with
options(connector.overwrite = TRUE/FALSE)
or environment variableR_CONNECTOR_OVERWRITE
.. Default:FALSE
.- open
logical Open the directory as a new connector object.
- ...
ConnectorDatabricksVolume: Additional parameters to pass to the
brickster::db_volume_dir_create()
method
Value
invisible connector_object.