Function mz_persist_types::schema::backward_compatible
source ยท pub fn backward_compatible(old: &DataType, new: &DataType) -> Option<Migration>
Expand description
Returns a function to migrate arrow data encoded by old
to be the same
DataType as arrow data encoded by new
, if new
is backward compatible
with old
. Exposed for testing.