You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/18 14:25:07 UTC

[GitHub] [incubator-doris] englefly commented on a diff in pull request #9069: resize hash table before building

englefly commented on code in PR #9069:
URL: https://github.com/apache/incubator-doris/pull/9069#discussion_r852153017


##########
be/src/vec/common/hash_table/hash_table.h:
##########
@@ -612,6 +555,62 @@ class HashTable : private boost::noncopyable,
         return *this;
     }
 
+        /// Increase the size of the buffer.
+    void resize(size_t for_num_elems = 0, size_t for_buf_size = 0) {
+        SCOPED_RAW_TIMER(&_resize_timer_ns);

Review Comment:
   HashTable::resize  moved from protected to public, so that it could be invoked by ProcessHashTableBuild in vhash_join_node.cpp



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org