Function datafusion::logical_expr::type_coercion::binary::coerce_types
source · pub fn coerce_types(
lhs_type: &DataType,
op: &Operator,
rhs_type: &DataType
) -> Result<DataType, DataFusionError>
Expand description
Coercion rules for all binary operators. Returns the ‘coerce_types’ is returns the type the arguments should be coerced to
Returns None if no suitable type can be found.