Skip to main content

Module agg

Module agg 

Source
Expand description

Aggregate function analysis helpers.

Provides structured types and extraction functions for aggregate expressions found in SQL SELECT projections. The types here complement the string-based aggregates: Vec<String> stored in crate::LogicalPlan::Aggregate by giving callers a richer, typed view of the aggregate expressions.

Structs§

AggregateExpr
Named aggregate function with an output alias.

Enums§

AggFunc
Aggregate function variant.

Functions§

extract_aggregates
Extract aggregate expressions from a sqlparser SELECT item list.
is_aggregate_expr
Check if a sqlparser Expr is (or contains) an aggregate function call.