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 4245ccca1 Improve unsupported data type error message (#2745)
4245ccca1 is described below
commit 4245ccca1602050976634b42e924bf5e669f0900
Author: Andy Grove <[email protected]>
AuthorDate: Fri Jun 17 20:57:11 2022 -0600
Improve unsupported data type error message (#2745)
---
datafusion/core/src/physical_plan/hash_join.rs | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/datafusion/core/src/physical_plan/hash_join.rs
b/datafusion/core/src/physical_plan/hash_join.rs
index c5d800918..4777e1c44 100644
--- a/datafusion/core/src/physical_plan/hash_join.rs
+++ b/datafusion/core/src/physical_plan/hash_join.rs
@@ -1047,11 +1047,12 @@ fn equal_rows(
DataType::LargeUtf8 => {
equal_rows_elem!(LargeStringArray, l, r, left, right,
null_equals_null)
}
- _ => {
+ other => {
// This is internal because we should have caught this before.
- err = Some(Err(DataFusionError::Internal(
- "Unsupported data type in hasher".to_string(),
- )));
+ err = Some(Err(DataFusionError::Internal(format!(
+ "Unsupported data type in hasher: {}",
+ other
+ ))));
false
}
});