Description Usage Arguments Details
Write a spark_tbl
to a parquet file.
1 | spark_write_parquet(.data, path, mode = "error", partition_by = NULL, ...)
|
.data |
a |
path |
string, the path where the file is to be saved. |
mode |
string, usually |
partition_by |
string, column names to partition by on disk |
... |
any other named options. See details below. |
For Parquet, compression can be set using ...
. Compression
(default is the value specified in spark.sql.orc.compression.codec):
compression codec to use when saving to file. This can be one of the known
case-insensitive shorten names(none, snappy, zlib, and lzo).. More
information can be found here:
https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/DataFrameWriter.html#parquet-java.lang.String-
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.