Module aggregate_statistics

Module aggregate_statistics 

Source
Expand description

Utilizing exact statistics from sources to avoid scanning data

Structsยง

AggregateStatistics
Optimizer that uses available statistics for aggregate functions

Functionsยง

take_optimizable ๐Ÿ”’
assert if the node passed as argument is a final AggregateExec node that can be optimized:
take_optimizable_value_from_statistics ๐Ÿ”’
If this agg_expr is a max that is exactly defined in the statistics, return it.