Dandandan commented on code in PR #15770:
URL: https://github.com/apache/datafusion/pull/15770#discussion_r2145258417


##########
datafusion/physical-plan/src/topk/mod.rs:
##########
@@ -207,6 +221,7 @@ impl TopK {
         // Idea: filter out rows >= self.heap.max() early (before passing to 
`RowConverter`)
         //       this avoids some work and also might be better vectorizable.
         let mut batch_entry = self.heap.register_batch(batch.clone());
+        let mut updated = false;

Review Comment:
   This doesn't do the filtering here, right 
(https://github.com/apache/datafusion/pull/15697 ). Is there any benefit doing 
that as well?



-- 
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...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to