[][src]Function datafusion::physical_plan::aggregates::create_aggregate_expr

pub fn create_aggregate_expr(
    fun: &AggregateFunction,
    distinct: bool,
    args: &Vec<Arc<dyn PhysicalExpr>>,
    input_schema: &Schema,
    name: String
) -> Result<Arc<dyn AggregateExpr>>

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