You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ja...@apache.org on 2023/01/21 08:56:14 UTC
[arrow-datafusion] branch master updated: Minor: improve internal error message (#5006)
This is an automated email from the ASF dual-hosted git repository.
jakevin 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 cff53a053 Minor: improve internal error message (#5006)
cff53a053 is described below
commit cff53a0536c12f2a497aa4133b175e63f321ef29
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Sat Jan 21 09:56:08 2023 +0100
Minor: improve internal error message (#5006)
---
datafusion/physical-expr/src/expressions/binary.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datafusion/physical-expr/src/expressions/binary.rs b/datafusion/physical-expr/src/expressions/binary.rs
index 149eee593..df90be163 100644
--- a/datafusion/physical-expr/src/expressions/binary.rs
+++ b/datafusion/physical-expr/src/expressions/binary.rs
@@ -1106,7 +1106,7 @@ pub fn binary(
let rhs_type = &rhs.data_type(input_schema)?;
if !lhs_type.eq(rhs_type) {
return Err(DataFusionError::Internal(format!(
- "The type of {lhs_type} {op} {rhs_type} of binary physical should be same"
+ "The type of {lhs_type} {op:?} {rhs_type} of binary physical should be same"
)));
}
Ok(Arc::new(BinaryExpr::new(lhs, op, rhs)))