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>>
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.