Copy an Object into Spark
Copy an object into Spark, and return an R object wrapping the copied object (typically, a Spark DataFrame).
sdf_copy_to(sc, x, ...)sdf_import(x, sc, ...)
- The associated Spark connection.
- An R object from which a Spark DataFrame can be generated.
- Optional arguments, passed to implementing methods.
sdf_copy_to is an S3 generic that, by default, dispatches to
sdf_import. Package authors that would like to implement
sdf_copy_to for a custom object type can accomplish this by
implementing the associated method on