MCPcopy Create free account
hub / github.com/apache/datafusion / create_physical_expr

Method create_physical_expr

datafusion/core/src/physical_planner.rs:292–299  ·  view source on GitHub ↗

Create a physical expression from a logical expression suitable for evaluation `e`: the expression to convert `input_dfschema`: the logical plan schema for evaluating `e`

(
        &self,
        expr: &Expr,
        input_dfschema: &DFSchema,
        session_state: &SessionState,
    )

Source from the content-addressed store, hash-verified

290 ///
291 /// `input_dfschema`: the logical plan schema for evaluating `e`
292 fn create_physical_expr(
293 &self,
294 expr: &Expr,
295 input_dfschema: &DFSchema,
296 session_state: &SessionState,
297 ) -> Result<Arc<dyn PhysicalExpr>> {
298 create_physical_expr(expr, input_dfschema, session_state.execution_props())
299 }
300}
301
302#[derive(Debug)]

Callers 1

test_create_notFunction · 0.45

Calls 2

create_physical_exprFunction · 0.85
execution_propsMethod · 0.45

Tested by 1

test_create_notFunction · 0.36