Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24992 )
Change subject: IMPALA-15418: Add Bottleneck Summary to query profiles ...................................................................... Patch Set 5: (2 comments) http://gerrit.cloudera.org:8080/#/c/24992/4/be/src/service/impala-server.cc File be/src/service/impala-server.cc: http://gerrit.cloudera.org:8080/#/c/24992/4/be/src/service/impala-server.cc@1639 PS4, Line 1639: for (int i = 0; i < bottlenecks.size(); ++i) { > Should use a format that can scale smaller than whole % numbers such as 3 d Done. Using setprecision(3) to calculate the percentage shown to three decimal places. http://gerrit.cloudera.org:8080/#/c/24992/4/be/src/service/query-options-test.cc File be/src/service/query-options-test.cc: http://gerrit.cloudera.org:8080/#/c/24992/4/be/src/service/query-options-test.cc@331 PS4, Line 331: // Inclusive of 0 and 1. At 0, every plan node with exec stats qualifies for the > How would this option behave if set to 0? At 0, every plan node with exec stats qualifies, including very small fractions (and nodes whose fraction is 0). Nodes without exec stats are still skipped. The list is still capped by bottleneck_summary_max_entries (default 3). We also have an e2e test for this, test_bottleneck_summary_query_options that uses min_query_time_frac=0. -- To view, visit http://gerrit.cloudera.org:8080/24992 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6d63cdb9dca24981054bf7c524c1bc3cd3167452 Gerrit-Change-Number: 24992 Gerrit-PatchSet: 5 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Kurt Deschler <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Comment-Date: Thu, 29 Oct 2026 16:15:04 +0000 Gerrit-HasComments: Yes
