polars_arrow::io::ipc::write

Function schema_to_bytes

Source
pub fn schema_to_bytes(
    schema: &ArrowSchema,
    ipc_fields: &[IpcField],
    custom_metadata: Option<&Metadata>,
) -> Vec<u8> 
Available on crate feature io_ipc only.
Expand description

Converts a ArrowSchema and IpcFields to a flatbuffers-encoded arrow_format::ipc::Message.