collect() is a convenience alias for as_tibble() for shard table outputs.
Arguments
- x
A shard table handle (
shard_row_groups,shard_dataset, orshard_table_handle).- ...
Passed to
as_tibble().
Examples
# \donttest{
s <- schema(x = float64(), y = int32())
tb <- table_buffer(s, nrow = 5L)
table_write(tb, idx_range(1, 5), data.frame(x = rnorm(5), y = 1:5))
handle <- table_finalize(tb)
df <- collect(handle)
# }