This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new d9e963ca65 [fix](executor)Fix query hang when query bitmap Orth 
intersect #22863
d9e963ca65 is described below

commit d9e963ca6525f4532bf9be7867ee8f8331f17528
Author: wangbo <[email protected]>
AuthorDate: Fri Aug 11 17:11:03 2023 +0800

    [fix](executor)Fix query hang when query bitmap Orth intersect #22863
---
 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 a6f3428acb..9966bb6de2 100644
--- a/be/src/util/bitmap_intersect.h
+++ b/be/src/util/bitmap_intersect.h
@@ -209,6 +209,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]

Reply via email to