powered by
table_write() is the common write path for shard table outputs:
table_write()
For fixed-size outputs, write into a shard_table_buffer using a row selector.
shard_table_buffer
For variable-size outputs, write into a shard_table_sink using a shard id.
shard_table_sink
table_write(target, rows_or_shard_id, data, ...)
NULL (invisibly).
NULL
A shard_table_buffer or shard_table_sink.
For buffers: row selector (idx_range or integer vector). For sinks: shard id (integer).
A data.frame or named list matching the schema columns.
Reserved for future extensions.
# \donttest{ s <- schema(x = float64(), y = int32()) tb <- table_buffer(s, nrow = 10L) table_write(tb, idx_range(1, 5), data.frame(x = rnorm(5), y = 1:5)) # }
Run the code above in your browser using DataLab