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 a3e5943ddd chore(functions): fix function names typo (#7269)
a3e5943ddd is described below
commit a3e5943dddccb52af482bce8f25007161a80789f
Author: Chunchun Ye <[email protected]>
AuthorDate: Fri Aug 11 11:26:59 2023 -0500
chore(functions): fix function names typo (#7269)
* chore(regexp_replace): fix typo
* chore: fix typo for rtrim
---
datafusion/expr/src/built_in_function.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/datafusion/expr/src/built_in_function.rs
b/datafusion/expr/src/built_in_function.rs
index 703d41cbee..cf609135ae 100644
--- a/datafusion/expr/src/built_in_function.rs
+++ b/datafusion/expr/src/built_in_function.rs
@@ -648,7 +648,7 @@ impl BuiltinScalarFunction {
BuiltinScalarFunction::Random => Ok(Float64),
BuiltinScalarFunction::Uuid => Ok(Utf8),
BuiltinScalarFunction::RegexpReplace => {
- utf8_to_str_type(&input_expr_types[0], "regex_replace")
+ utf8_to_str_type(&input_expr_types[0], "regexp_replace")
}
BuiltinScalarFunction::Repeat => {
utf8_to_str_type(&input_expr_types[0], "repeat")
@@ -664,7 +664,7 @@ impl BuiltinScalarFunction {
}
BuiltinScalarFunction::Rpad =>
utf8_to_str_type(&input_expr_types[0], "rpad"),
BuiltinScalarFunction::Rtrim => {
- utf8_to_str_type(&input_expr_types[0], "rtrimp")
+ utf8_to_str_type(&input_expr_types[0], "rtrim")
}
BuiltinScalarFunction::SHA224 => {
utf8_or_binary_to_binary_type(&input_expr_types[0], "sha224")