Hello Mike Percy, Kudu Jenkins, Todd Lipcon, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13009 to look at the new patch set (#4). Change subject: SelectionVector: pad extra bits with zeroes in constructor ...................................................................... SelectionVector: pad extra bits with zeroes in constructor I found this after removing the MergeIterator's call to SetAllTrue(). It turns out that if you don't call any functions that set all bytes en masse, CountSelected() and AnySelected() will misbehave as they'll read garbage data from any trailing bits beyond the logical end of the bitmap. We can fix this in one of two ways: - Modify CountSelected()/AnySelected() to ignore the trailing bits. - Zero out the trailing bits in the constructor. I opted for the second approach as I found it easier to implement, and I suspect it's more performant than the first. Change-Id: I74baf87c7f38b7eea0ad46825c2421c99f8f42a1 --- M src/kudu/common/rowblock-test.cc M src/kudu/common/rowblock.cc M src/kudu/common/rowblock.h 3 files changed, 41 insertions(+), 14 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/09/13009/4 -- To view, visit http://gerrit.cloudera.org:8080/13009 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I74baf87c7f38b7eea0ad46825c2421c99f8f42a1 Gerrit-Change-Number: 13009 Gerrit-PatchSet: 4 Gerrit-Owner: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mike Percy <mpe...@apache.org> Gerrit-Reviewer: Todd Lipcon <t...@apache.org>