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.
(
lhs: Arc<dyn PhysicalExpr>,
op: Operator,
rhs: Arc<dyn PhysicalExpr>,
_input_schema: &Schema,
)
| 971 | /// This function errors if it is not possible to coerce the arguments |
| 972 | /// to computational types supported by the operator. |
| 973 | pub fn binary( |
| 974 | lhs: Arc<dyn PhysicalExpr>, |
| 975 | op: Operator, |
| 976 | rhs: Arc<dyn PhysicalExpr>, |
| 977 | _input_schema: &Schema, |
| 978 | ) -> Result<Arc<dyn PhysicalExpr>> { |
| 979 | Ok(Arc::new(BinaryExpr::new(lhs, op, rhs))) |
| 980 | } |
| 981 | |
| 982 | /// Create a similar to expression |
| 983 | pub fn similar_to( |
searching dependent graphs…