Jackie-Jiang opened a new pull request, #8565: URL: https://github.com/apache/pinot/pull/8565
## Description Adds `PercentileSmartTDigestAggregationFunction` which can automatically convert the `DoubleArrayList` to `TDigest` if the list size grows too big to protect the servers from running out of memory. This conversion only applies to aggregation only queries, but not the group-by queries. By default, when the list size exceeds 100K, it will be converted to a TDigest with compression of 100. The threshold and compression can be configured using the third argument (literal) of the function: - `threshold`: list size threshold to trigger the conversion, non-positive means never convert (default 100K) - `compression`: compression of the converted TDigest (default 100) Example query: `SELECT PERCENTILE_SMART_TDIGEST(myCol, 95, 'threshold=10;compression=50') FROM myTable` ## Release Notes Adds `PercentileSmartTDigestAggregationFunction` which automatically stores values in DoubleArrayList or TDigest based on the number of values -- 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]
