Skip to main content

encode_batches

Function encode_batches 

Source
pub fn encode_batches(batches: &[NdRecordBatch]) -> Result<RecordBatch>
Expand description

Encode several nd batches with one shared logical schema, one row each.

The attrs struct of each column holds the union of the attribute keys of all batches. When a batch has global attributes, a last column GLOBAL_ATTRIBUTES_FIELD holds them, also as the union of keys.