datafusion_expr::binary

Function regex_coercion

Source
pub fn regex_coercion(
    lhs_type: &DataType,
    rhs_type: &DataType,
) -> Option<DataType>
Expand description

Coercion rules for regular expression comparison operations. This is a union of string coercion rules and dictionary coercion rules