lidavidm commented on pull request #11019:
URL: https://github.com/apache/arrow/pull/11019#issuecomment-914363271


   > Another thought: isn't one attraction of TopK to have a streaming 
algorithm with O(k) memory consumption? Making a full sort requires to 
materialize the entire input, hence O(n) memory consumption.
   
   That is a fair point. However, this kernel as-is is not a streaming 
implementation and we would have to implement it as an actual aggregate kernel 
to get that behavior.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to