Skip to content

Commit

Permalink
minor: error message parameter order incorrect (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Oct 7, 2022
1 parent 38cf2eb commit 242b5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/core/src/physical_plan/sorts/sort.rs
Expand Up @@ -132,8 +132,8 @@ impl ExternalSorter {
let size_delta = size.checked_sub(new_size).ok_or_else(|| {
DataFusionError::Internal(format!(
"The size of the sorted batch is larger than the size of the input batch: {} > {}",
size,
new_size
new_size,
size
))
})?;
self.shrink(size_delta);
Expand Down

0 comments on commit 242b5c5

Please sign in to comment.