From 0f4701dd8c7623a327727757737a85ef129b5a45 Mon Sep 17 00:00:00 2001 From: srlch Date: Tue, 10 Sep 2024 15:16:54 +0800 Subject: [PATCH] [BugFix] Fix the miss profile metrics for GIN Fix the miss profile metrics for GIN, pr#48521 delete the code of the profile metrics for GIN by mistake Signed-off-by: srlch --- be/src/exec/pipeline/scan/olap_chunk_source.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/be/src/exec/pipeline/scan/olap_chunk_source.cpp b/be/src/exec/pipeline/scan/olap_chunk_source.cpp index 6425eb48414e5..4aae7159d5a01 100644 --- a/be/src/exec/pipeline/scan/olap_chunk_source.cpp +++ b/be/src/exec/pipeline/scan/olap_chunk_source.cpp @@ -673,6 +673,8 @@ void OlapChunkSource::_update_counter() { COUNTER_UPDATE(_bi_filtered_counter, _reader->stats().rows_bitmap_index_filtered); COUNTER_UPDATE(_bi_filter_timer, _reader->stats().bitmap_index_filter_timer); + COUNTER_UPDATE(_gin_filtered_counter, _reader->stats().rows_gin_filtered); + COUNTER_UPDATE(_gin_filtered_timer, _reader->stats().gin_index_filter_ns); COUNTER_UPDATE(_get_row_ranges_by_vector_index_timer, _reader->stats().get_row_ranges_by_vector_index_timer); COUNTER_UPDATE(_vector_search_timer, _reader->stats().vector_search_timer); COUNTER_UPDATE(_process_vector_distance_and_id_timer, _reader->stats().process_vector_distance_and_id_timer);