Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/13378 )
Change subject: IMPALA-8566. Fix computation of num_nulls for incremental stats ...................................................................... IMPALA-8566. Fix computation of num_nulls for incremental stats The calculation for num_nulls in the incremental stats code path initialized the counter to -1 instead of 0. This meant that, if there were no nulls (reasonably common), the num_nulls counter would be set to -1, indicating unknown, rather than 0. This simply fixes the initialization and updates the tests. Change-Id: Ie42103ad21d719cac45abc160c8d5422dd33fb28 Reviewed-on: http://gerrit.cloudera.org:8080/13378 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/exec/incr-stats-util.cc M testdata/workloads/functional-query/queries/QueryTest/compute-stats-incremental.test M testdata/workloads/functional-query/queries/QueryTest/truncate-table.test 3 files changed, 77 insertions(+), 77 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/13378 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ie42103ad21d719cac45abc160c8d5422dd33fb28 Gerrit-Change-Number: 13378 Gerrit-PatchSet: 5 Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]>
