datafusion_expr::binary

Function get_input_types

Source
pub fn get_input_types(
    lhs: &DataType,
    op: &Operator,
    rhs: &DataType,
) -> Result<(DataType, DataType), DataFusionError>
Expand description

Returns the coerced input types for a binary expression evaluating the op with the left and right hand types