Skip to content

Commit

Permalink
replace div_ceil expression with function call
Browse files Browse the repository at this point in the history
  • Loading branch information
korowa committed Aug 4, 2024
1 parent 49dc129 commit 3084f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/physical-plan/src/joins/hash_join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3755,9 +3755,9 @@ mod tests {
| JoinType::Right
| JoinType::RightSemi
| JoinType::RightAnti => {
(expected_resultset_records + batch_size - 1) / batch_size
div_ceil(expected_resultset_records, batch_size)
}
_ => (expected_resultset_records + batch_size - 1) / batch_size + 1,
_ => div_ceil(expected_resultset_records, batch_size) + 1
};
assert_eq!(
batches.len(),
Expand Down

0 comments on commit 3084f2c

Please sign in to comment.