pub fn type_to_physical_type(
    type_: &Type,
    length: Option<i32>
) -> Result<PhysicalType>