Function mz_transform::typecheck::scalar_subtype_difference

source ·
pub fn scalar_subtype_difference(
    sub: &ScalarType,
    sup: &ScalarType
) -> Vec<ColumnTypeDifference>
Expand description

Returns a list of differences that make sub not a subtype of sup

This function returns an empty list when sub is a subtype of sup