Function polars_arrow::io::flight::deserialize_message

source ยท
pub fn deserialize_message(
    data: &FlightData,
    fields: &[Field],
    ipc_schema: &IpcSchema,
    dictionaries: &mut Dictionaries,
) -> PolarsResult<Option<RecordBatchT<Box<dyn Array>>>>
Available on crate feature io_flight only.
Expand description

Deserializes FlightData into either a RecordBatchT (when the message is a record batch) or by upserting into dictionaries (when the message is a dictionary)