How do I convert a SparkDataFrame
from SparkR
into a tbl_spark
from sparklyr
?
A similar question was asked here: Convert spark dataframe to sparklyR table "tbl_spark".
The suggestion was to use the sdf_copy_to function, however, the input of this function must be an R object in instead of a SparkDataFrame
.
Any suggestions to solve this problem?
Thanks!