DISTINCT removal in aggregate functions
How the optimizer removes redundant DISTINCT from aggregate-function arguments.
Last updated
Was this helpful?
Was this helpful?
{
"prepare_sum_aggregators": {
"function": "count(distinct t1.col1)",
"aggregator_type": "distinct"
}
}{
"prepare_sum_aggregators": {
"function": "count(distinct t1.pk1)",
"aggregator_type": "simple"
}
}