liaoxin01 commented on code in PR #13224: URL: https://github.com/apache/doris/pull/13224#discussion_r991747785
########## be/src/olap/rowset/beta_rowset_writer.cpp: ########## @@ -173,7 +173,11 @@ OLAPStatus BetaRowsetWriter::flush_single_memtable(MemTable* memtable, int64_t* RowsetSharedPtr BetaRowsetWriter::build() { // TODO(lingbin): move to more better place, or in a CreateBlockBatch? for (auto& wblock : _wblocks) { Review Comment: Now the caller handle the error according to whether the pointer is nullptr. So it‘s ok to return nullptr, although it is not a complete way. There will be a lot of changes if return Status. -- 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