pub fn serialize_batch(
    chunk: &Chunk<Box<dyn Array>>,
    fields: &[IpcField],
    options: &WriteOptions
) -> PolarsResult<(Vec<FlightData>, FlightData)>
Available on crate feature io_flight only.
Expand description

Serializes Chunk 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