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§
- Aggregate
Info - Information about a detected aggregate function.
- Aggregation
Analysis - Analysis result for aggregations in a query.
Enums§
- Aggregate
Type - 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.