diff --git a/be/src/vec/functions/array/function_array_index.h b/be/src/vec/functions/array/function_array_index.h index e4426e95ce39da..2339fe4c5097d9 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 @@ class FunctionArrayIndex : public IFunction { 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();