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 6: (2 comments) Thanks for the comments! http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator-backend-state.cc File be/src/runtime/coordinator-backend-state.cc: http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator-backend-state.cc@694 PS5, Line 694: for (const auto& entry : instance_stats_map_) { > Cancellation before `Coordinator::Wait()` leaves `completion_time_ns_` unse Done. We are now setting the completion_time_ns to store stopwatch elapsed for any instance still missing completion_time_ns_ when ApplyExecStatusReport finishes and the backend is done or Cancel() returns. http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator.cc File be/src/runtime/coordinator.cc: http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator.cc@1914 PS5, Line 1914: int64_t max_latency_ns = 0; > `exec_stats` is preallocated, so `empty()` does not detect missing reports. Done. Added the condition: if (!stat.__isset.latency_ns) continue; and removed if (node.exec_stats.empty()) continue; -- 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: 6 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[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: Fri, 30 Oct 2026 06:32:53 +0000 Gerrit-HasComments: Yes
