This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-unstable in repository https://gitbox.apache.org/repos/asf/doris.git
commit f56fe5ff3597aee7a06cea3e2b8eb37d98bda93c Author: Pxl <pxl...@qq.com> AuthorDate: Tue Nov 8 22:11:41 2022 +0800 use extern template to date_time_add (#13970) --- be/src/vec/functions/function_date_or_datetime_computation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/functions/function_date_or_datetime_computation.h b/be/src/vec/functions/function_date_or_datetime_computation.h index 4d1002ed0e..a22bc1a357 100644 --- a/be/src/vec/functions/function_date_or_datetime_computation.h +++ b/be/src/vec/functions/function_date_or_datetime_computation.h @@ -34,7 +34,7 @@ namespace doris::vectorized { template <TimeUnit unit, typename Arg, typename DateValueType, typename ResultDateValueType, typename ResultType> -inline ResultType date_time_add(const Arg& t, Int64 delta, bool& is_null) { +extern ResultType date_time_add(const Arg& t, Int64 delta, bool& is_null) { auto ts_value = binary_cast<Arg, DateValueType>(t); TimeInterval interval(unit, delta, false); if constexpr (std::is_same_v<VecDateTimeValue, DateValueType> || --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org