Module logical_agg

Source

Structsยง

AggInfo
LogicalAgg
LogicalAgg groups input data by their group key and computes aggregation functions.
LogicalAggBuilder
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
SeparatedAggInfo is used to separate normal and approx percentile aggs.

Functionsยง

find_or_append_row_count ๐Ÿ”’
new_stream_hash_agg ๐Ÿ”’
new_stream_simple_agg ๐Ÿ”’