This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new 55ae41000f4 [enhancement](fatal) change log fatal to throw exception to avoid core (#32715) 55ae41000f4 is described below commit 55ae41000f46c0e8abf764a35a092513248dd241 Author: yiguolei <676222...@qq.com> AuthorDate: Sun Mar 24 12:08:05 2024 +0800 [enhancement](fatal) change log fatal to throw exception to avoid core (#32715) Co-authored-by: yiguolei <yiguo...@gmail.com> --- be/src/vec/functions/function_binary_arithmetic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/be/src/vec/functions/function_binary_arithmetic.h b/be/src/vec/functions/function_binary_arithmetic.h index 8c433783c2d..a34709732cc 100644 --- a/be/src/vec/functions/function_binary_arithmetic.h +++ b/be/src/vec/functions/function_binary_arithmetic.h @@ -941,9 +941,9 @@ public: return false; }); if (!valid) { - LOG(FATAL) << fmt::format("Illegal types {} and {} of arguments of function {}", - arguments[0]->get_name(), arguments[1]->get_name(), - get_name()); + throw Exception(ErrorCode::INTERNAL_ERROR, + "Illegal types {} and {} of arguments of function {}", + arguments[0]->get_name(), arguments[1]->get_name(), get_name()); } if constexpr (is_to_null_type) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org