You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/11/06 03:07:00 UTC

[GitHub] [doris] morningman commented on a diff in pull request #13985: [enhancement](profile) add instanceNum, tableIds to profile.

morningman commented on code in PR #13985:
URL: https://github.com/apache/doris/pull/13985#discussion_r1014761711


##########
be/src/vec/exec/scan/new_olap_scan_node.cpp:
##########
@@ -132,6 +132,17 @@ static std::string olap_filters_to_string(const std::vector<doris::TCondition>&
     return filters_string;
 }
 
+static std::string tablets_id_to_string(
+        const std::vector<std::unique_ptr<TPaloScanRange>>& scan_ranges) {
+    std::stringstream ss;
+    ss << "[" << scan_ranges[0]->tablet_id;
+    for (int i = 1; i < scan_ranges.size(); ++i) {
+        ss << ", " << scan_ranges[i]->tablet_id;
+    }
+    ss << "]";

Review Comment:
   the tablet id maybe too many?



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org