You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2023/01/13 05:50:21 UTC

[GitHub] [doris] BiteTheDDDDt commented on a diff in pull request #15837: [Feature](Materialized-View) support duplicate base column for diffrent aggregate function

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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org