yiguolei commented on code in PR #51253: URL: https://github.com/apache/doris/pull/51253#discussion_r2107011196
########## be/src/vec/common/pod_array.h: ########## @@ -460,6 +460,8 @@ class PODArray : public PODArrayBase<sizeof(T), initial_bytes, TAllocator, pad_r this->c_end = this->c_start + new_size; } + /// reset the array capacity + /// fill the new additional elements using the value void resize_fill(size_t n, const T& value) { Review Comment: please add some ut for resize fill, we should make sure it only reset the additional new element's value -- 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