Jackie-Jiang commented on issue #8039: URL: https://github.com/apache/pinot/issues/8039#issuecomment-1016727873
I've also thought about this problem, and leaning towards the first approach because without ordering, the second approach might also not give accurate results. The cheapest solution that can give deterministic results should be always order by all the group by columns, and only keep `limit` groups per server. On the broker we can do merge sort and return once `limit` groups are reached. We cannot order by aggregate results because the value can change during aggregation -- 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]
