Copy data frame to Databricks as table or view
# S3 method for DatabricksConnection
copy_to(
dest,
df,
name = deparse(substitute(df)),
overwrite = FALSE,
temporary = TRUE,
...
)dbplyr table reference
A DatabricksConnection object
Data frame to copy
Name for the table/view
Whether to overwrite existing table/view
Whether to create as temporary view (default: TRUE, but NOT SUPPORTED - will error)
Additional arguments passed to dbWriteTable
Note: temporary=TRUE will result in an error as temporary tables are not supported with the SQL Statement Execution API. Use temporary=FALSE to create regular tables.