Hello everyone, I previously asked a question on the ASF slack and someone replied to me by asking me to send the question on the dev list. I just subscribed to the list to forward the message I sent :
I was playing with the DataSketches Quantiles Sketch module in druid trying to retrieve some histograms using quantilesDoublesSketchToHistogram. However I couldn't label the values I retrieved for each bin when using numBins when trying to plot them. I can’t seem to find any postAggregator that allows me to get min/max values in order to recompute bins on the client side. Should I use min/max aggregators when ingesting, and query them alongside my histogram as a workaround ? It seem a lot of space/time that would seem to be « free » to retrieve using Quantile Sketches. Wouldn’t it be useful to have min/max postAggregators for quantilesDoubleSketches aggregator and/or histogram bins labels ? I located this chunk of code: https://github.com/apache/druid/blob/master/extensions-core/datasketches/src/main/java/org/apache/druid/query/aggregation/datasketches/quantiles/DoublesSketchToHistogramPostAggregator.java That does not seem overly complicated in a way I could not contribute, but I’m not used to java dev these days and it would take me a while to get it right. Would such features be considered if requested/submitted ? Thank you, -- Jérémie Girault