Skip to main content

typed_batch

Function typed_batch 

Source
pub fn typed_batch(
    schema: &SchemaRef,
    batch: &RecordBatch,
) -> Result<RecordBatch, String>
Expand description

batch reshaped to schema: columns by name, cast safely (unfittable values → null), missing columns all null.