Internal Jenkins has submitted this change and it was merged. Change subject: IMPALA-4441: Divide-by-zero in RuntimeProfile::SummaryStatsCounter::SetStats ......................................................................
IMPALA-4441: Divide-by-zero in RuntimeProfile::SummaryStatsCounter::SetStats This patch anticipates the case where total_num_values_ can be 0 and makes sure a divide-by-zero is not possible. Change-Id: I33f1e6fb45505dce7d79497d1632c5f63a409151 Reviewed-on: http://gerrit.cloudera.org:8080/4975 Reviewed-by: Henry Robinson <he...@cloudera.com> Tested-by: Internal Jenkins --- M be/src/util/runtime-profile.cc 1 file changed, 3 insertions(+), 1 deletion(-) Approvals: Henry Robinson: Looks good to me, approved Internal Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/4975 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I33f1e6fb45505dce7d79497d1632c5f63a409151 Gerrit-PatchSet: 3 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Sailesh Mukil <sail...@cloudera.com> Gerrit-Reviewer: Henry Robinson <he...@cloudera.com> Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Sailesh Mukil <sail...@cloudera.com>