Jackie-Jiang opened a new pull request, #8921:
URL: https://github.com/apache/pinot/pull/8921

   When a group-by query has very large LIMIT, we over-allocate the array even 
if there are not that many records returned.
   
   This PR:
   - Allocate array based on both the LIMIT and number of records returned
   - Short-circuit the calculation when there is no record returned, or LIMIT 
is 0


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