xiaokang commented on code in PR #27958:
URL: https://github.com/apache/doris/pull/27958#discussion_r1418214205


##########
be/src/olap/schema_change.cpp:
##########
@@ -467,10 +469,10 @@ Status LinkedSchemaChange::process(RowsetReaderSharedPtr 
rowset_reader, RowsetWr
 Status VSchemaChangeDirectly::_inner_process(RowsetReaderSharedPtr 
rowset_reader,
                                              RowsetWriter* rowset_writer,
                                              TabletSharedPtr new_tablet,
-                                             TabletSchemaSPtr 
base_tablet_schema) {
+                                             TabletSchemaSPtr 
base_tablet_schema,
+                                             TabletSchemaSPtr 
new_tablet_schema) {
     do {
-        auto new_block =
-                
vectorized::Block::create_unique(new_tablet->tablet_schema()->create_block());
+        auto new_block = 
vectorized::Block::create_unique(new_tablet_schema->create_block());

Review Comment:
   what's the difference to new_tablet->tablet_schema() ?



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