Function mz_persist_types::arrow::from_proto_with_type

source ยท
fn from_proto_with_type(
    proto: ProtoArrayData,
    expected_type: Option<&DataType>,
) -> Result<ArrayData, TryFromProtoError>
Expand description

Decode the array data. If the data type is omitted from the proto, we decode it as the expected type.