Function datafusion_physical_expr::planner::create_physical_expr
source · pub fn create_physical_expr(
e: &Expr,
input_dfschema: &DFSchema,
input_schema: &Schema,
execution_props: &ExecutionProps
) -> Result<Arc<dyn PhysicalExpr>>
Expand description
Create a physical expression from a logical expression (Expr).
Arguments
e
- The logical expressioninput_dfschema
- The DataFusion schema for the input, used to resolveColumn
references to qualified or unqualified fields by name.input_schema
- The Arrow schema for the input, used for determining expression data types when performing type coercion.