Write to parquet file
Description
Write to parquet file
Usage
<DataFrame>$write_parquet(
file,
...,
compression = "zstd",
compression_level = 3,
statistics = FALSE,
row_group_size = NULL,
data_pagesize_limit = NULL
)
Arguments
file
|
File path to which the result should be written. |
…
|
Ignored. |
compression
|
String. The compression method. One of:
|
compression_level
|
NULL or Integer. The level of compression to use. Only used
if method is one of ‘gzip’, ‘brotli’, or ‘zstd’. Higher compression
means smaller files on disk:
|
statistics
|
Logical. Whether compute and write column statistics. This requires extra compute. |
row_group_size
|
NULL or Integer. Size of the row groups in number of rows.
If NULL (default), the chunks of the DataFrame are used.
Writing in smaller chunks may reduce memory pressure and improve writing
speeds.
|
data_pagesize_limit
|
NULL or Integer. If NULL (default), the limit
will be ~1MB.
|
Value
Invisibly returns the input DataFrame.