Function datafusion::physical_expr::expressions::binary

source ยท
pub fn binary(
    lhs: Arc<dyn PhysicalExpr>,
    op: Operator,
    rhs: Arc<dyn PhysicalExpr>,
    _input_schema: &Schema
) -> Result<Arc<dyn PhysicalExpr>, DataFusionError>
Expand description

Create a binary expression whose arguments are correctly coerced. This function errors if it is not possible to coerce the arguments to computational types supported by the operator.