| table_sink | R Documentation |
A table sink supports variable-sized outputs without returning large data.frames to the master. Each shard writes a separate row-group file.
table_sink(
schema,
mode = c("row_groups", "partitioned"),
path = NULL,
format = c("auto", "rds", "native")
)
schema |
A |
mode |
|
path |
Directory to write row-group files. If NULL, a temp dir is created. |
format |
Storage format for partitions: |
v1.1 implementation notes:
Storage format is per-shard RDS (portable, CRAN-friendly).
This guarantees bounded master memory during execution; final collection may still be large if you materialize.
A shard_table_sink object.
s <- schema(x = float64(), label = string_col())
sink <- table_sink(s, mode = "row_groups")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.