wangbo commented on code in PR #43604: URL: https://github.com/apache/doris/pull/43604#discussion_r1837806055
########## be/src/vec/common/hash_table/hash_table.h: ########## @@ -277,13 +277,14 @@ struct HashTableGrower { ? fill_capacity : fill_capacity + 1); - size_degree = num_elems <= 1 ? initial_size_degree - : (initial_size_degree > fill_capacity ? initial_size_degree - : fill_capacity); + size_degree = (doris::vectorized::UInt8)( Review Comment: because size_degree = log2(xxx) when set_buf_size, so uint8 is enough. -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org