This is an automated email from the ASF dual-hosted git repository.
xudong963 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 242b5c542 minor: error message parameter order incorrect (#3748)
242b5c542 is described below
commit 242b5c5427c4c2322a6530c3cd813ffcee30a234
Author: Andy Grove <[email protected]>
AuthorDate: Thu Oct 6 21:41:39 2022 -0600
minor: error message parameter order incorrect (#3748)
---
datafusion/core/src/physical_plan/sorts/sort.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/datafusion/core/src/physical_plan/sorts/sort.rs
b/datafusion/core/src/physical_plan/sorts/sort.rs
index e338ead86..4586106bb 100644
--- a/datafusion/core/src/physical_plan/sorts/sort.rs
+++ b/datafusion/core/src/physical_plan/sorts/sort.rs
@@ -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);