LakshSingla commented on issue #12887: URL: https://github.com/apache/druid/issues/12887#issuecomment-1218011521
As per my understanding, `quantilesDoublesSketchToQuantile` produces approximate results since it utilizes the [Datasketches](https://datasketches.apache.org/) library to compute the result. From the results that you have posted above, it seems that they are not far off from each other and in an acceptable variability range. From the [doc](https://druid.apache.org/docs/latest/development/extensions-core/datasketches-quantiles.html) for the function, I think setting and increasing the `k` should reduce the variability b/w the runs (at the expense of performance). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
