Skip to main content

sparse_rows_to_record_batch

Function sparse_rows_to_record_batch 

Source
pub fn sparse_rows_to_record_batch(
    rows: &Rows,
    table_info: &TableInfo,
) -> Result<RecordBatch>
Expand description

Encodes the sparse key in primary-key order and emits non-tag columns in schema order. Applies pure defaults and nullability checks.

ยงPanics

Panics if rows.rows is empty. Callers must skip empty writes before conversion.