BiteTheDDDDt commented on code in PR #15837:
URL: https://github.com/apache/doris/pull/15837#discussion_r1068956091

##########
be/src/olap/schema_change.cpp:
##########
@@ -427,7 +416,7 @@ Status 
VSchemaChangeDirectly::_inner_process(RowsetReaderSharedPtr rowset_reader
         auto ref_block = 
std::make_unique<vectorized::Block>(base_tablet_schema->create_block());
 
         rowset_reader->next_block(ref_block.get());
-        if (ref_block->rows() < 1) {
+        if (ref_block->rows() == 0) {

Review Comment:
   block has no method named `empty`. XD



-- 
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

Reply via email to