richardstartin opened a new pull request #8139: URL: https://github.com/apache/pinot/pull/8139
Aggregation function aggregate as `double` to avoid numeric overflow, but converting blocks to `double[]` too soon has two drawbacks: * `double[]` are larger than `float[]` and `int[]` and this may result in twice the footprint on heap when these arrays are retained by the `DataBlockCache` * If the values are read directly from a `ForwardIndexReader`, reading `int`/`long`/`float` values as `double` prevents autovectorization, resulting in a performance penalty. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org