weizuo93 commented on a change in pull request #8473:
URL: https://github.com/apache/incubator-doris/pull/8473#discussion_r830723933



##########
File path: be/src/runtime/stream_load/stream_load_context.cpp
##########
@@ -158,6 +158,18 @@ void StreamLoadContext::parse_stream_load_record(const 
std::string& stream_load_
         ss << "Label: " << label.GetString();
     }
 
+    if (document.HasMember("TxnId")) {
+        const rapidjson::Value& txn_id = document["TxnId"];
+        stream_load_item.__set_txn_id(txn_id.GetInt64());
+        ss << "TxnId: " << txn_id.GetInt64();

Review comment:
       > better to use fmt::format_to
   
   done.




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