Function datafusion::physical_plan::functions::create_physical_expr [−][src]
pub fn create_physical_expr(
fun: &BuiltinScalarFunction,
args: &[Arc<dyn PhysicalExpr>],
input_schema: &Schema
) -> Result<Arc<dyn PhysicalExpr>>
Create a physical (function) expression.
This function errors when args
’ can’t be coerced to a valid argument type of the function.