Skip to main content

encode_batch_to_ipc

Function encode_batch_to_ipc 

Source
pub fn encode_batch_to_ipc(
    batch: &RecordBatch,
) -> Result<Vec<u8>, TwoPhaseError>
Expand description

Encode a RecordBatch to Arrow IPC file format bytes.

ยงErrors

Returns TwoPhaseError::Arrow on encoding failure.