Function mz_persist_types::arrow::into_proto_with_type

source ยท
fn into_proto_with_type(
    data: &ArrayData,
    expected_type: Option<&DataType>,
) -> ProtoArrayData
Expand description

Encode the array into proto. If an expected data type is passed, that implies it is encoded at some higher level, and we omit it from the data.