Function mz_persist_client::schema::is_atleast_as_nullable
source ยท pub(crate) fn is_atleast_as_nullable(
old: &DataType,
new: &DataType,
) -> Result<(), Error>
Expand description
Returns if new
is at least as nullable as old
.
Errors if new
is less nullable than old
, or old
and new
are different types or have
different nested fields.