Jackie-Jiang opened a new pull request #7420: URL: https://github.com/apache/pinot/pull/7420
Introduce resultSize (number of records kept after calling finish()) in IndexedTable which can be different from the trimSize. On the broker side, we only need to keep limit records in the final result because the groups are already fully merged. This can significantly reduce the cost of final record sorting. Also separate the logic for queries with/without order-by and move the common methods into the IndexedTable to reduce the duplicate code. -- 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