polars_arrow::io::ipc::write

Function encode_record_batch

Source
pub fn encode_record_batch(
    chunk: &RecordBatchT<Box<dyn Array>>,
    options: &WriteOptions,
    encoded_message: &mut EncodedData,
)
Available on crate feature io_ipc only.
Expand description

Write RecordBatchT into two sets of bytes, one for the header (ipc::Schema::Message) and the other for the batch’s data