This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 4360b8520e [fix](executor)Fix query hang when query bitmap Orth
intersect #22828
4360b8520e is described below
commit 4360b8520e21ddd4ae5d253a2be05844c98751d2
Author: wangbo <[email protected]>
AuthorDate: Thu Aug 10 18:50:33 2023 +0800
[fix](executor)Fix query hang when query bitmap Orth intersect #22828
---
be/src/util/bitmap_intersect.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/be/src/util/bitmap_intersect.h b/be/src/util/bitmap_intersect.h
index 72695f331f..75ba258d17 100644
--- a/be/src/util/bitmap_intersect.h
+++ b/be/src/util/bitmap_intersect.h
@@ -184,6 +184,9 @@ public:
// intersection
BitmapValue intersect() const {
BitmapValue result;
+ if (_bitmaps.empty()) {
+ return result;
+ }
auto it = _bitmaps.begin();
result |= it->second;
it++;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]