[][src]Function datafusion::physical_plan::expressions::binary_operator_data_type

pub fn binary_operator_data_type(
    lhs_type: &DataType,
    op: &Operator,
    rhs_type: &DataType
) -> Result<DataType>

Returns the return type of a binary operator or an error when the binary operator cannot perform the computation between the argument's types, even after type coercion.

This function makes some assumptions about the underlying available computations.