fn build(agg: &AggCall) -> Result<Box<dyn AggregateFunction>>
Expand description
TODO(kwannoel): for single phase agg, we can actually support UDDSketch
.
For two phase agg, we still use DDSketch
.
Then we also need to store the relative_error
of the sketch, so we can report it
in an internal table, if it changes.