take_optimizable_value_from_statistics

Function take_optimizable_value_from_statistics 

Source
fn take_optimizable_value_from_statistics(
    statistics_args: &StatisticsArgs<'_>,
    agg_expr: &AggregateFunctionExpr,
) -> Option<(ScalarValue, String)>
Expand description

If this agg_expr is a max that is exactly defined in the statistics, return it.