Lchangliang commented on code in PR #10136:
URL: https://github.com/apache/doris/pull/10136#discussion_r916502360


##########
be/src/olap/delta_writer.cpp:
##########
@@ -121,10 +121,11 @@ Status DeltaWriter::init() {
         
RETURN_NOT_OK(_storage_engine->txn_manager()->prepare_txn(_req.partition_id, 
_tablet,
                                                                   _req.txn_id, 
_req.load_id));
     }
+    // build tablet schema in request level
+    _build_current_tablet_schema(_req.index_id, _req.ptable_schema_param, 
_tablet->tablet_schema());

Review Comment:
   I don't think that's a problem. In _build_current_tablet_schema, the code 
will check field 'columns_desc' has value or not. 1.1 send the old proto to 
1.2, BE will use tablet_schema directly.



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