Skip to main content

Module other

Module other 

Source

Functionsยง

get_coerce_type_for_case_expression
Find a common coerceable type for CASE THEN/ELSE result expressions. Returns the common data type for then_types and else_type.
get_coerce_type_for_case_when
Find a common coerceable type for CASE expr WHEN val1 WHEN val2 ... conditions. Returns the common type for case_type and all when_types.
get_coerce_type_for_list
Attempts to coerce the types of list_types to be comparable with the expr_type for IN list predicates. Returns the common data type for expr_type and list_types.