Function mz_persist_types::columnar::data_type
source ยท pub fn data_type<A: Codec>(schema: &A::Schema) -> Result<DataType>
Expand description
Returns the data type of arrays generated by this schema.
This obtains the dsta type by encoding an empty array and checking its type. The caller is generally expected to make sure that all columns generated by this schema have the same datatype.