This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch dev-1.1.2 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/dev-1.1.2 by this push: new de13e2c7bc [feature](functions) support `add_months` on vectorized engine (#11518) (#11534) de13e2c7bc is described below commit de13e2c7bc466ca369f18323cb3e822d83a0df51 Author: yiguolei <676222...@qq.com> AuthorDate: Fri Aug 5 08:11:52 2022 +0800 [feature](functions) support `add_months` on vectorized engine (#11518) (#11534) Co-authored-by: Gabriel <gabrielleeb...@gmail.com> --- be/src/vec/functions/function_date_or_datetime_computation.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/be/src/vec/functions/function_date_or_datetime_computation.cpp b/be/src/vec/functions/function_date_or_datetime_computation.cpp index 7469dba76e..62eec24c40 100644 --- a/be/src/vec/functions/function_date_or_datetime_computation.cpp +++ b/be/src/vec/functions/function_date_or_datetime_computation.cpp @@ -102,8 +102,6 @@ void register_function_date_time_computation(SimpleFunctionFactory& factory) { factory.register_function<FunctionAddMinutes>(); factory.register_function<FunctionAddHours>(); factory.register_function<FunctionAddDays>(); - factory.register_alias("days_add", "date_add"); - factory.register_alias("days_add", "adddate"); factory.register_function<FunctionAddWeeks>(); factory.register_function<FunctionAddMonths>(); factory.register_function<FunctionAddYears>(); @@ -142,6 +140,11 @@ void register_function_date_time_computation(SimpleFunctionFactory& factory) { factory.register_function<FunctionCurTime>(); factory.register_function<FunctionCurrentTime>(); factory.register_function<FunctionUtcTimeStamp>(); + + // alias + factory.register_alias("days_add", "date_add"); + factory.register_alias("days_add", "adddate"); + factory.register_alias("months_add", "add_months"); } } // namespace doris::vectorized \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org