This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch dev-1.0.1 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit 7c13c3d1a945b8bb314cfe0b56053dd15d6915cd Author: Gabriel <gabrielleeb...@gmail.com> AuthorDate: Tue Mar 29 18:21:16 2022 +0800 fix typo (#8714) fix typo --- be/src/vec/functions/simple_function_factory.h | 8 ++++---- be/src/vec/functions/time_of_function.cpp | 2 +- be/src/vec/functions/to_time_function.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/be/src/vec/functions/simple_function_factory.h b/be/src/vec/functions/simple_function_factory.h index f6fdb6c..9402bcf 100644 --- a/be/src/vec/functions/simple_function_factory.h +++ b/be/src/vec/functions/simple_function_factory.h @@ -50,8 +50,8 @@ void register_function_bitmap(SimpleFunctionFactory& factory); void register_function_bitmap_variadic(SimpleFunctionFactory& factory); void register_function_is_null(SimpleFunctionFactory& factory); void register_function_is_not_null(SimpleFunctionFactory& factory); -void register_function_to_time_fuction(SimpleFunctionFactory& factory); -void register_function_time_of_fuction(SimpleFunctionFactory& factory); +void register_function_to_time_function(SimpleFunctionFactory& factory); +void register_function_time_of_function(SimpleFunctionFactory& factory); void register_function_string(SimpleFunctionFactory& factory); void register_function_date_time_to_string(SimpleFunctionFactory& factory); void register_function_date_time_string_to_string(SimpleFunctionFactory& factory); @@ -173,8 +173,8 @@ public: register_function_bit(instance); register_function_is_null(instance); register_function_is_not_null(instance); - register_function_to_time_fuction(instance); - register_function_time_of_fuction(instance); + register_function_to_time_function(instance); + register_function_time_of_function(instance); register_function_string(instance); register_function_in(instance); register_function_if(instance); diff --git a/be/src/vec/functions/time_of_function.cpp b/be/src/vec/functions/time_of_function.cpp index d3a677a..1d364f5 100644 --- a/be/src/vec/functions/time_of_function.cpp +++ b/be/src/vec/functions/time_of_function.cpp @@ -28,7 +28,7 @@ using FunctionDayOfWeek = FunctionDateOrDateTimeToSomething<DataTypeInt32, DayOf using FunctionDayOfMonth = FunctionDateOrDateTimeToSomething<DataTypeInt32, DayOfMonthImpl>; using FunctionYearWeek = FunctionDateOrDateTimeToSomething<DataTypeInt32, ToYearWeekOneArgImpl>; -void register_function_time_of_fuction(SimpleFunctionFactory& factory) { +void register_function_time_of_function(SimpleFunctionFactory& factory) { factory.register_function<FunctionDayOfWeek>(); factory.register_function<FunctionDayOfMonth>(); factory.register_function<FunctionDayOfYear>(); diff --git a/be/src/vec/functions/to_time_function.cpp b/be/src/vec/functions/to_time_function.cpp index e73ab3f..c0e8628 100644 --- a/be/src/vec/functions/to_time_function.cpp +++ b/be/src/vec/functions/to_time_function.cpp @@ -36,7 +36,7 @@ using FunctionToDate = FunctionDateOrDateTimeToSomething<DataTypeDateTime, ToDat using FunctionDate = FunctionDateOrDateTimeToSomething<DataTypeDateTime, DateImpl>; using FunctionTimeStamp = FunctionDateOrDateTimeToSomething<DataTypeDateTime, TimeStampImpl>; -void register_function_to_time_fuction(SimpleFunctionFactory& factory) { +void register_function_to_time_function(SimpleFunctionFactory& factory) { factory.register_function<FunctionSecond>(); factory.register_function<FunctionMinute>(); factory.register_function<FunctionHour>(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org