functions used to write Spark tables to file. These use the backend
spark_write_source
to write the actual file. Note, spark_write_source
is not meant to write files to the the hive metastore, see spark_write_table
for functionality similar to Spark's saveAsTable
and insertInto
.
1 2 3 4 5 6 7 8 |
.data |
a |
path |
string, the path where the file is to be saved. |
source |
string, can be file types like |
mode |
string, usually |
partition_by |
string, column names to partition by on disk |
... |
any other option to be passed. Must be a named argument. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.