Henry Robinson has posted comments on this change. Change subject: IMPALA-4138: Fix AcquireState() for batches that have MarkCapacity() called ......................................................................
Patch Set 1: (4 comments) http://gerrit.cloudera.org:8080/#/c/4428/1/be/src/runtime/row-batch-test.cc File be/src/runtime/row-batch-test.cc: Line 38: vector<bool> nullable_tuples(1, false); > This is ok, but I find the c++11 initialisers for vectors a bit nicer. e.g. Done PS1, Line 39: TTupleId > This should be a static_cast according to our coding standard. Done Line 60: ASSERT_DEBUG_DEATH(bad_dest.AcquireState(&src), ""); > We should make sure to merge that first, otherwise we will have a lot of co Yep, I'll hold off for that patch. http://gerrit.cloudera.org:8080/#/c/4428/1/be/src/runtime/row-batch.cc File be/src/runtime/row-batch.cc: Line 319: capacity_ = tuple_ptrs_size_ / (num_tuples_per_row_ * sizeof(Tuple*)); > I don't feel strongly either way, but when this added I switched from the i Works for me. -- To view, visit http://gerrit.cloudera.org:8080/4428 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6ceca53c406b05cd04b7d95a4f9f2eec7bc127f5 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Henry Robinson <he...@cloudera.com> Gerrit-Reviewer: Henry Robinson <he...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-HasComments: Yes