HappenLee commented on code in PR #63389:
URL: https://github.com/apache/doris/pull/63389#discussion_r3329966858


##########
be/src/exec/operator/olap_scan_operator.cpp:
##########
@@ -222,6 +222,20 @@ Status OlapScanLocalState::_init_profile() {
     _stats_filtered_counter = ADD_COUNTER(_segment_profile, 
"RowsStatsFiltered", TUnit::UNIT);
     _stats_rp_filtered_counter =
             ADD_COUNTER(_segment_profile, 
"RowsZoneMapRuntimePredicateFiltered", TUnit::UNIT);
+    _expr_zonemap_filtered_segment_counter =
+            ADD_COUNTER(_segment_profile, "ExprZoneMapFilteredSegments", 
TUnit::UNIT);
+    _expr_zonemap_filtered_page_counter =
+            ADD_COUNTER(_segment_profile, "ExprZoneMapFilteredPages", 
TUnit::UNIT);
+    _expr_zonemap_unsupported_counter =
+            ADD_COUNTER(_segment_profile, "ExprZoneMapUnsupportedExprs", 
TUnit::UNIT);
+    _expr_zonemap_type_mismatch_counter =
+            ADD_COUNTER(_segment_profile, "ExprZoneMapTypeMismatch", 
TUnit::UNIT);
+    _in_zonemap_point_check_counter =
+            ADD_COUNTER(_segment_profile, "InZoneMapPointCheckCount", 
TUnit::UNIT);
+    _in_zonemap_range_only_counter =
+            ADD_COUNTER(_segment_profile, "InZoneMapRangeOnlyCount", 
TUnit::UNIT);
+    _in_zonemap_point_check_skipped_counter =
+            ADD_COUNTER(_segment_profile, 
"InZoneMapPointCheckSkippedDueToThreshold", TUnit::UNIT);

Review Comment:
   这个count统计是冗余的,InZoneMapRangeOnlyCount和这个统计总是一致的



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to