Routines for saving and loading Spark DataFrames.
sdf_save_table(x, name, overwrite = FALSE, append = FALSE)sdf_load_table(sc, name)
sdf_save_parquet(x, path, overwrite = FALSE, append = FALSE)
sdf_load_parquet(sc, path)
A spark_connection
, ml_pipeline
, or a tbl_spark
.
The table name to assign to the saved Spark DataFrame.
Boolean; overwrite a pre-existing table of the same name?
Boolean; append to a pre-existing table of the same name?
A spark_connection
object.
The path where the Spark DataFrame should be saved.