findepi commented on code in PR #13596:
URL: https://github.com/apache/datafusion/pull/13596#discussion_r1862667940


##########
datafusion/physical-plan/src/sorts/sort_preserving_merge.rs:
##########
@@ -746,7 +746,7 @@ mod tests {
 
     // Split the provided record batch into multiple batch_size record batches
     fn split_batch(sorted: &RecordBatch, batch_size: usize) -> 
Vec<RecordBatch> {
-        let batches = (sorted.num_rows() + batch_size - 1) / batch_size;

Review Comment:
   i did not modify this line manually. but i did run clippy with `--fix`, so 
yes



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