Create vector of Physical Expression from a vector of logical expression
(
exprs: I,
input_dfschema: &DFSchema,
execution_props: &ExecutionProps,
)
| 573 | |
| 574 | /// Create vector of Physical Expression from a vector of logical expression |
| 575 | pub fn create_physical_exprs<'a, I>( |
| 576 | exprs: I, |
| 577 | input_dfschema: &DFSchema, |
| 578 | execution_props: &ExecutionProps, |
| 579 | ) -> Result<Vec<Arc<dyn PhysicalExpr>>> |
| 580 | where |
| 581 | I: IntoIterator<Item = &'a Expr>, |
| 582 | { |
| 583 | exprs |
| 584 | .into_iter() |
| 585 | .map(|expr| create_physical_expr(expr, input_dfschema, execution_props)) |
| 586 | .collect() |
| 587 | } |
| 588 | |
| 589 | /// Convert a logical expression to a physical expression (without any simplification, etc) |
| 590 | pub fn logical2physical(expr: &Expr, schema: &Schema) -> Arc<dyn PhysicalExpr> { |
no test coverage detected
searching dependent graphs…