eldenmoon commented on code in PR #27764:
URL: https://github.com/apache/doris/pull/27764#discussion_r1411563206


##########
be/src/olap/rowset_builder.cpp:
##########
@@ -362,7 +362,15 @@ void RowsetBuilder::_build_current_tablet_schema(int64_t 
index_id,
                                                     indexes[i], 
ori_tablet_schema);
     }
     if (_tablet_schema->schema_version() > ori_tablet_schema.schema_version()) 
{
-        _tablet->update_max_version_schema(_tablet_schema);
+        // After schema change should include extracted column
+        if (_tablet_schema->num_variant_columns() > 0) {

Review Comment:
   Add detail case and comment why we need to add this logic



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