Function make_agg_func

Source
fn make_agg_func(
    func_name: &str,
    exprs: &[Expr],
    distinct: bool,
    filter: Option<Box<Expr>>,
    order_by: Vec<OrderByExpr>,
) -> Function
Expand description

This is the function that generate aggregate function. DISTINCT, ORDER BY or FILTER is allowed in aggregation functions。