This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 6dcb7c7d7c8 branch-4.0: [fix](load)fix the error msg with stack  
#56640 (#56657)
6dcb7c7d7c8 is described below

commit 6dcb7c7d7c844f86e4948f060a5d696b9812f308
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Sep 30 13:59:17 2025 +0800

    branch-4.0: [fix](load)fix the error msg with stack  #56640 (#56657)
    
    Cherry-picked from #56640
    
    Co-authored-by: Refrain <[email protected]>
---
 be/src/runtime/stream_load/stream_load_context.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/runtime/stream_load/stream_load_context.cpp 
b/be/src/runtime/stream_load/stream_load_context.cpp
index 8d4bb8ae277..65ec1171493 100644
--- a/be/src/runtime/stream_load/stream_load_context.cpp
+++ b/be/src/runtime/stream_load/stream_load_context.cpp
@@ -83,7 +83,7 @@ std::string StreamLoadContext::to_json() const {
     if (status.ok()) {
         writer.String("OK");
     } else {
-        writer.String(status.to_string().c_str());
+        writer.String(status.to_string_no_stack().c_str());
     }
     // number_load_rows
     writer.Key("NumberTotalRows");
@@ -340,7 +340,7 @@ std::string StreamLoadContext::to_json_for_mini_load() 
const {
     if (status.ok() || show_ok) {
         writer.String("OK");
     } else {
-        writer.String(status.to_string().c_str());
+        writer.String(status.to_string_no_stack().c_str());
     }
     writer.EndObject();
     return s.GetString();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to