diff --git a/be/src/olap/inverted_index_profile.h b/be/src/olap/inverted_index_profile.h index 9255e41dc55738..4b3855b5c8ae68 100644 --- a/be/src/olap/inverted_index_profile.h +++ b/be/src/olap/inverted_index_profile.h @@ -38,12 +38,12 @@ class InvertedIndexProfileReporter { const auto& stats = statistics->stats[i]; ADD_TIMER_WITH_LEVEL(profile, hit_rows_name, 1); - auto* hit_rows = ADD_CHILD_COUNTER_WITH_LEVEL(profile, "fr_" + stats.column_name, + auto* hit_rows = ADD_CHILD_COUNTER_WITH_LEVEL(profile, "HitRows_" + stats.column_name, TUnit::UNIT, hit_rows_name, 1); COUNTER_UPDATE(hit_rows, stats.hit_rows); ADD_TIMER_WITH_LEVEL(profile, exec_time_name, 1); - auto* exec_time = ADD_CHILD_COUNTER_WITH_LEVEL(profile, "ft_" + stats.column_name, + auto* exec_time = ADD_CHILD_COUNTER_WITH_LEVEL(profile, "ExecTime_" + stats.column_name, TUnit::TIME_NS, exec_time_name, 1); COUNTER_UPDATE(exec_time, stats.exec_time); } diff --git a/be/test/olap/inverted_index_profile_test.cpp b/be/test/olap/inverted_index_profile_test.cpp index e3aa35556043fb..25dc63588c7b16 100644 --- a/be/test/olap/inverted_index_profile_test.cpp +++ b/be/test/olap/inverted_index_profile_test.cpp @@ -35,10 +35,10 @@ TEST(InvertedIndexProfileReporterTest, UpdateTest) { InvertedIndexProfileReporter reporter; reporter.update(runtime_profile.get(), &statistics); - ASSERT_EQ(runtime_profile->get_counter("fr_test_column1")->value(), 101); - ASSERT_EQ(runtime_profile->get_counter("ft_test_column1")->value(), 201); - ASSERT_EQ(runtime_profile->get_counter("fr_test_column2")->value(), 102); - ASSERT_EQ(runtime_profile->get_counter("ft_test_column2")->value(), 202); + ASSERT_EQ(runtime_profile->get_counter("HitRows_test_column1")->value(), 101); + ASSERT_EQ(runtime_profile->get_counter("ExecTime_test_column1")->value(), 201); + ASSERT_EQ(runtime_profile->get_counter("HitRows_test_column2")->value(), 102); + ASSERT_EQ(runtime_profile->get_counter("ExecTime_test_column2")->value(), 202); } } // namespace doris \ No newline at end of file