pub fn create_aggregate_expr(
    fun: &AggregateFunction,
    distinct: bool,
    input_phy_exprs: &[Arc<dyn PhysicalExpr>],
    ordering_req: &[PhysicalSortExpr],
    input_schema: &Schema,
    name: impl Into<String>
) -> Result<Arc<dyn AggregateExpr>>
Expand description

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