pub fn cast_schema_by_type( schema: &Schema, from_type: &DataType, to_type: &DataType, ) -> Result<Schema>
Casts columns with from_type to to_type