risingwave_frontend::optimizer::plan_node

Module logical_agg

source

Structsยง

  • LogicalAgg groups input data by their group key and computes aggregation functions.
  • LogicalAggBuilder extracts agg calls and references to group columns from select list and build the plan like LogicalAgg - LogicalProject. it is constructed by group_exprs and collect and rewrite the expression in selection and having clause.
  • SeparatedAggInfo is used to separate normal and approx percentile aggs.

Functionsยง