polars_arrow::io::ipc::read

Function get_row_count_from_blocks

Source
pub fn get_row_count_from_blocks<R: Read + Seek>(
    reader: &mut R,
    blocks: &[Block],
) -> PolarsResult<i64>
Available on crate feature io_ipc only.
Expand description

Read the row count by summing the length of the of the record batches in blocks