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

airborne pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 609e96809df [Chore][inverted index] remove duplicate null bitmap 
reader in function array index #40907 (#40920)
609e96809df is described below

commit 609e96809df01670b6dfdd967c9c87b9c3494cbe
Author: airborne12 <[email protected]>
AuthorDate: Wed Sep 18 16:35:00 2024 +0800

    [Chore][inverted index] remove duplicate null bitmap reader in function 
array index #40907 (#40920)
    
    cherry pick from #40907
---
 be/src/vec/functions/array/function_array_index.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/be/src/vec/functions/array/function_array_index.h 
b/be/src/vec/functions/array/function_array_index.h
index e4426e95ce3..2339fe4c509 100644
--- a/be/src/vec/functions/array/function_array_index.h
+++ b/be/src/vec/functions/array/function_array_index.h
@@ -188,11 +188,6 @@ public:
                         roaring->cardinality(), result_bitmap);
             }
         })
-        if (iter->has_null()) {
-            segment_v2::InvertedIndexQueryCacheHandle null_bitmap_cache_handle;
-            RETURN_IF_ERROR(iter->read_null_bitmap(&null_bitmap_cache_handle));
-            null_bitmap = null_bitmap_cache_handle.get_bitmap();
-        }
         segment_v2::InvertedIndexResultBitmap result(roaring, null_bitmap);
         bitmap_result = result;
         bitmap_result.mask_out_null();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to