mrhhsg commented on code in PR #13355: URL: https://github.com/apache/doris/pull/13355#discussion_r996881116
########## be/src/vec/columns/column_string.cpp: ########## @@ -444,6 +445,7 @@ void ColumnString::resize(size_t n) { auto origin_size = size(); if (origin_size > n) { offsets.resize(n); + chars.resize(offsets.back()); Review Comment: It should not be since n is smaller than origin_size. -- 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