stream_count: Stream row count

View source: R/table_stream.R

stream_countR Documentation

Stream row count

Description

Stream row count

Usage

stream_count(x)

Arguments

x

A shard_row_groups or shard_dataset handle.

Value

A single integer giving the total number of rows across all partitions.

Examples


s <- schema(x = float64())
sink <- table_sink(s, mode = "row_groups")
table_write(sink, 1L, data.frame(x = rnorm(5)))
rg <- table_finalize(sink)
stream_count(rg)


shard documentation built on April 3, 2026, 9:08 a.m.