Function datafusion::physical_plan::udf::create_physical_expr[][src]

pub fn create_physical_expr(
    fun: &ScalarUDF,
    args: &[Arc<dyn PhysicalExpr>],
    input_schema: &Schema
) -> Result<Arc<dyn PhysicalExpr>>

Create a physical expression of the UDF. This function errors when args’ can’t be coerced to a valid argument type of the UDF.