Function polars_arrow::io::flight::serialize_batch
source · pub fn serialize_batch(
chunk: &RecordBatchT<Box<dyn Array>>,
fields: &[IpcField],
options: &WriteOptions,
) -> PolarsResult<(Vec<FlightData>, FlightData)>
Available on crate feature
io_flight
only.Expand description
Serializes RecordBatchT
to a vector of FlightData
representing the serialized dictionaries
and a FlightData
representing the batch.
§Errors
This function errors iff fields
is not consistent with columns