Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/16057 )
Change subject: IMPALA-9382: part 2/3: aggregate profiles sent to coordinator ...................................................................... Patch Set 15: (4 comments) http://gerrit.cloudera.org:8080/#/c/16057/15/be/src/util/runtime-profile-test.cc File be/src/util/runtime-profile-test.cc: http://gerrit.cloudera.org:8080/#/c/16057/15/be/src/util/runtime-profile-test.cc@562 PS15, Line 562: for (int i = 0; i < offset + NUM_PROFILES; ++i) { : if (i < offset || i >= offset + NUM_PROFILES) { : EXPECT_FALSE(tcounter.has_value[i]); : continue; : } > Due to the loop condition, i < offset + NUM_PROFILES, so it won't test the Done http://gerrit.cloudera.org:8080/#/c/16057/15/be/src/util/runtime-profile-test.cc@771 PS15, Line 771: static void VerifyThriftInfoStrings( > Nit: It would be nice to verify that the entries outside of offset, offset For info strings I think we're validating this already, since we're comparing the full vectors of indices. http://gerrit.cloudera.org:8080/#/c/16057/15/be/src/util/runtime-profile-test.cc@962 PS15, Line 962: static void VerifyThriftEventSequences( > Nit: It would be nice to verify that the entries outside of offset, offset Done http://gerrit.cloudera.org:8080/#/c/16057/15/be/src/util/runtime-profile-test.cc@1374 PS15, Line 1374: static void VerifyThriftTimeSeries( > Nit: It would be nice to verify that the entries outside of offset, offset Done -- To view, visit http://gerrit.cloudera.org:8080/16057 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic680cbfe94c939c2a8fad9d0943034ed058c6bca Gerrit-Change-Number: 16057 Gerrit-PatchSet: 15 Gerrit-Owner: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Comment-Date: Tue, 24 Nov 2020 19:30:49 +0000 Gerrit-HasComments: Yes