alamb commented on code in PR #26788:
URL: https://github.com/apache/datafusion/pull/26788#discussion_r4671670270


##########
datafusion/physical-plan/src/aggregates/grouped_topk_stream.rs:
##########
@@ -319,6 +289,66 @@ mod tests {
     use datafusion_physical_expr::aggregate::AggregateExprBuilder;
     use datafusion_physical_expr::expressions::col;
 
+    #[tokio::test]
+    async fn output_respects_batch_size() -> Result<()> {

Review Comment:
   This is a lot of test code -- is there some way to make it simpler (like put 
an assert in the slt runner, for example, or a debug assert in the output 
stream?



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

Reply via email to