kangpinghuang commented on a change in pull request #1738: add bloom filter index URL: https://github.com/apache/incubator-doris/pull/1738#discussion_r323588812
########## File path: be/src/olap/bloom_filter.hpp ########## @@ -71,6 +70,16 @@ class BitSet { return true; } + bool init_with_deep_copy(uint64_t* data, uint32_t data_len) { + _data = new(std::nothrow) uint64_t[data_len]; Review comment: Bitset will free the allocated _data in destructor ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org