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/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new ee7ab0b83f Fix clippy failures (#8972)
ee7ab0b83f is described below
commit ee7ab0b83ff5bf2934519cd6718ccea620edea1e
Author: Andrew Lamb <[email protected]>
AuthorDate: Tue Jan 23 17:23:54 2024 -0500
Fix clippy failures (#8972)
---
datafusion/physical-expr/src/functions.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/datafusion/physical-expr/src/functions.rs
b/datafusion/physical-expr/src/functions.rs
index 57e04c6ecf..ac959dec6e 100644
--- a/datafusion/physical-expr/src/functions.rs
+++ b/datafusion/physical-expr/src/functions.rs
@@ -559,10 +559,10 @@ pub fn create_physical_fun(
}),
BuiltinScalarFunction::InStr => Arc::new(|args| match
args[0].data_type() {
DataType::Utf8 => {
- make_scalar_function(string_expressions::instr::<i32>)(args)
+
make_scalar_function_inner(string_expressions::instr::<i32>)(args)
}
DataType::LargeUtf8 => {
- make_scalar_function(string_expressions::instr::<i64>)(args)
+
make_scalar_function_inner(string_expressions::instr::<i64>)(args)
}
other => internal_err!("Unsupported data type {other:?} for
function instr"),
}),
@@ -790,10 +790,10 @@ pub fn create_physical_fun(
}),
BuiltinScalarFunction::EndsWith => Arc::new(|args| match
args[0].data_type() {
DataType::Utf8 => {
-
make_scalar_function(string_expressions::ends_with::<i32>)(args)
+
make_scalar_function_inner(string_expressions::ends_with::<i32>)(args)
}
DataType::LargeUtf8 => {
-
make_scalar_function(string_expressions::ends_with::<i64>)(args)
+
make_scalar_function_inner(string_expressions::ends_with::<i64>)(args)
}
other => {
internal_err!("Unsupported data type {other:?} for function
ends_with")