somandal opened a new pull request, #10649:
URL: https://github.com/apache/pinot/pull/10649

   Today the Percentile TDigest aggregation functions use a hard-coded default 
compression factor of 100. This compressoin factor may not always be ideal 
especially in scenarios where more accuracy is desired. This PR adds support to 
optionally specify a custom compression factor as part of the query (takes a 
3rd query argument). Defaults to the current default of 100 if the compression 
factor isn't present.
   
   Examples of queries with the compression factor set (and not set):
   
   - `SELECT PERCENTILETDIGESTMV(colmv, 99.99, 1000), PERCENTILETDIGEST(colsv, 
98, 500) FROM table` -> uses compression factor 1000 for the first MV column 
and 500 for the second SV column
   - `SELECT PERCENTILETDIGESTMV(colmv, 99.99), PERCENTILETDIGEST(colsv, 98) 
FROM table` -> defaults to compression factor of 100
   - `SELECT PERCENTILETDIGEST99MV(colmv), PERCENTILETDIGEST50(colsv) FROM 
table` -> defaults to compression factor of 100
   
   cc @jasperjiaguo @siddharthteotia @Jackie-Jiang 


-- 
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]

Reply via email to