Skip to main content

decode_batch_from_ipc

Function decode_batch_from_ipc 

Source
pub fn decode_batch_from_ipc(bytes: &[u8]) -> Result<RecordBatch, TwoPhaseError>
Expand description

Decode a RecordBatch from Arrow IPC file format bytes.

ยงErrors

Returns TwoPhaseError::Arrow on decoding failure, or TwoPhaseError::Serde if the IPC stream contains no batches.