This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 83c80a9d6b fix: ScalarValue::new_ten error cites one not ten (#11126)
83c80a9d6b is described below
commit 83c80a9d6b8be6bd5a468b1b39bde3bd442e2851
Author: gstvg <[email protected]>
AuthorDate: Tue Jun 25 20:13:42 2024 -0300
fix: ScalarValue::new_ten error cites one not ten (#11126)
---
datafusion/common/src/scalar/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datafusion/common/src/scalar/mod.rs
b/datafusion/common/src/scalar/mod.rs
index 3daf347ae4..5b727250b5 100644
--- a/datafusion/common/src/scalar/mod.rs
+++ b/datafusion/common/src/scalar/mod.rs
@@ -1077,7 +1077,7 @@ impl ScalarValue {
DataType::Float64 => ScalarValue::Float64(Some(10.0)),
_ => {
return _not_impl_err!(
- "Can't create a negative one scalar from data_type
\"{datatype:?}\""
+ "Can't create a ten scalar from data_type \"{datatype:?}\""
);
}
})
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]