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


##########
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:
   thanks, clippy got smart



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