Skip to main content

Module aggregation_parser

Module aggregation_parser 

Source
Expand description

Aggregate function detection and extraction

This module analyzes SQL queries to extract aggregate functions like COUNT, SUM, MIN, MAX, AVG, STDDEV, VARIANCE, PERCENTILE, and more. It determines the aggregation strategy and maps to DataFusion names.

Structs§

AggregateInfo
Information about a detected aggregate function.
AggregationAnalysis
Analysis result for aggregations in a query.

Enums§

AggregateType
Types of aggregate functions supported.

Functions§

analyze_aggregates
Analyze a SQL statement for aggregate functions.
count_aggregates
Count the number of aggregate functions in a statement.
has_aggregates
Check if a SELECT statement contains any aggregate functions.