Copy a local R data frame to Spark
# S3 method for spark_connection
copy_to(dest, df, name = deparse(substitute(df)),
memory = TRUE, repartition = 0, overwrite = FALSE, ...)
A Spark connection
Local data frame to copy
Name of the destination table
Cache table into memory
Partitions used to distribute table or 0 (default) to avoid partitioning
When TRUE, overwrites table with existing name
Unused
dplyr compatible reference to table
Other dplyr: tbl_cache
,
tbl_uncache