zhannngchen commented on code in PR #21329:
URL: https://github.com/apache/doris/pull/21329#discussion_r1247973882


##########
be/src/olap/rowset/beta_rowset_writer.cpp:
##########
@@ -141,6 +137,44 @@ Status BetaRowsetWriter::add_block(const 
vectorized::Block* block) {
     return _add_block(block, &_segment_writer);
 }
 
+Status BetaRowsetWriter::_generate_delete_bitmap(int32_t segment_id) {
+    SCOPED_RAW_TIMER(&_delete_bitmap_ns);
+    if (_context.tablet_schema->is_partial_update()) {

Review Comment:
   It is better to place this conditional statement after the conditional 
statement on L46.
   Check MoW first, then partial update.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to