Skip to main content

is_supported_signed_to_unsigned_coercion

Function is_supported_signed_to_unsigned_coercion 

Source
pub fn is_supported_signed_to_unsigned_coercion(
    request_type: ColumnDataType,
    target_type: ColumnDataType,
) -> bool
Expand description

The signed→unsigned integer coercions that let the built-in data models move from unsigned to signed integers while existing unsigned tables keep accepting new signed ingest without an ALTER TABLE (see the pair descriptions in the module-level comment above). Kept as one predicate so the trace and log ingest paths share the same supported pair set and cannot drift.