This function first writes parquet file to a temporary Databricks Volume and then converts it to a table.
Usage
write_table_volume(
connector_object,
x,
name,
overwrite = zephyr::get_option("overwrite", "connector.databricks"),
tags = NULL
)
Arguments
- connector_object
A ConnectorDatabricksTable object for interacting with Databricks
- x
The data to be written to the table
- name
The name of the table
- overwrite
Overwrite existing content if it exists in the connector.
Named list containing tag names and tag values, e.g. list("tag_name1" = "tag_value1", "tag_name2" = "tag_value2"). More info here
Examples
if (FALSE) { # \dontrun{
write_table_volume(connector_object,
data,
"my_table",
overwrite = TRUE,
tags = list("tag_name1" = "tag_value1")
)
} # }