This is an automated email from the ASF dual-hosted git repository. panxiaolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new b104deae2a1 [Bug](runtime-filter) fix wrong throw of contain null (#44348) b104deae2a1 is described below commit b104deae2a119755234f05df8aa48fa843b861ee Author: Pxl <x...@selectdb.com> AuthorDate: Thu Nov 21 14:01:13 2024 +0800 [Bug](runtime-filter) fix wrong throw of contain null (#44348) ### What problem does this PR solve? fix wrong throw of contain null introduced by #https://github.com/apache/doris/issues/43780 --- be/src/exprs/bloom_filter_func.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/be/src/exprs/bloom_filter_func.h b/be/src/exprs/bloom_filter_func.h index b5204fa767d..54ad7502810 100644 --- a/be/src/exprs/bloom_filter_func.h +++ b/be/src/exprs/bloom_filter_func.h @@ -17,6 +17,8 @@ #pragma once +#include "common/exception.h" +#include "common/status.h" #include "exprs/block_bloom_filter.hpp" #include "exprs/runtime_filter.h" #include "olap/rowset/segment_v2/bloom_filter.h" // IWYU pragma: keep @@ -205,7 +207,7 @@ public: bool contain_null() const { if (!_bloom_filter) { - throw Status::InternalError("_bloom_filter is nullptr"); + throw Exception(ErrorCode::INTERNAL_ERROR, "_bloom_filter is nullptr"); } return _bloom_filter->contain_null(); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org