Dandandan commented on a change in pull request #9865:
URL: https://github.com/apache/arrow/pull/9865#discussion_r610494045



##########
File path: rust/datafusion/tests/user_defined_plan.rs
##########
@@ -471,12 +471,10 @@ impl Stream for TopKReader {
             return Poll::Ready(None);
         }
         // this aggregates and thus returns a single RecordBatch.
-        self.done = true;

Review comment:
       That was my intuition too, yeah. This seems to be more correct and fixes 
the issue.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to