Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/15683 )
Change subject: IMPALA-3741 [part 2]: Push runtime bloom filter to Kudu ...................................................................... Patch Set 11: (2 comments) http://gerrit.cloudera.org:8080/#/c/15683/11/be/src/util/bloom-filter.cc File be/src/util/bloom-filter.cc: http://gerrit.cloudera.org:8080/#/c/15683/11/be/src/util/bloom-filter.cc@71 PS11, Line 71: if (directory_in_size == 0) > Could you clarify with a comment in what case would directory_in_size be 0 wdirectory_size equal 0 only when the fileter is always false. In the case the bloom filter will not be pushed to Kudu. Will add a comment here. http://gerrit.cloudera.org:8080/#/c/15683/11/be/src/util/bloom-filter.cc@201 PS11, Line 201: if (is_allocated_) { : LOG(DFATAL) << "Each call to AllocateBuffer must have a corresponding call " : << "to FreeBuffer."; : Close(); // Ensure that any previously allocated memory is released. : } > Same instance of allocator can be used for multiple BBFs. So this doesn't l Line 201 to 205 are not useful. Will remove them. -- To view, visit http://gerrit.cloudera.org:8080/15683 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I9100076f68ea299ddb6ec8bc027cac7a47f5d754 Gerrit-Change-Number: 15683 Gerrit-PatchSet: 11 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Thomas Tauber-Marshall <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Comment-Date: Sat, 09 May 2020 17:03:48 +0000 Gerrit-HasComments: Yes
