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 a9caf05d159 [Bug](runtime-filter) fix wrong check on
BloomFilterFuncBase::merge (#41670)
a9caf05d159 is described below
commit a9caf05d159f076caaac8abba2f0a270f695ffd0
Author: Pxl <[email protected]>
AuthorDate: Thu Oct 10 20:15:14 2024 +0800
[Bug](runtime-filter) fix wrong check on BloomFilterFuncBase::merge (#41670)
## Proposed changes
fix wrong check on BloomFilterFuncBase::merge
introduced by https://github.com/apache/doris/pull/41648
---
be/src/exprs/bloom_filter_func.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/exprs/bloom_filter_func.h b/be/src/exprs/bloom_filter_func.h
index 6f82897b953..eaf3a652dbc 100644
--- a/be/src/exprs/bloom_filter_func.h
+++ b/be/src/exprs/bloom_filter_func.h
@@ -162,8 +162,8 @@ public:
// allocate memory again.
if (!_inited) {
auto* other_func =
static_cast<BloomFilterFuncBase*>(bloomfilter_func);
- if (_bloom_filter == nullptr) {
- return Status::InternalError("_bloom_filter is nullptr");
+ if (_bloom_filter != nullptr) {
+ return Status::InternalError("_bloom_filter must is nullptr");
}
_bloom_filter = bloomfilter_func->_bloom_filter;
_bloom_filter_alloced = other_func->_bloom_filter_alloced;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]