yiguolei commented on code in PR #10136: URL: https://github.com/apache/doris/pull/10136#discussion_r916444410
########## 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: 在升级过程中可能出现,当前机器是1.2 版本,老机器是1.1 版本,那么导入数据时,1.1 版本的机器转发过来的数据是没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: 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