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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 8650ac6f8a9 [chore](log) print query id before logging profile in 
be.INFO (#32915)
8650ac6f8a9 is described below

commit 8650ac6f8a9135f2c8ab2d6e2b05ff0e4e7f17b5
Author: zhiqiang <[email protected]>
AuthorDate: Wed Mar 27 22:32:09 2024 +0800

    [chore](log) print query id before logging profile in be.INFO (#32915)
---
 be/src/runtime/plan_fragment_executor.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/be/src/runtime/plan_fragment_executor.cpp 
b/be/src/runtime/plan_fragment_executor.cpp
index 9a634096d8c..89abf9af309 100644
--- a/be/src/runtime/plan_fragment_executor.cpp
+++ b/be/src/runtime/plan_fragment_executor.cpp
@@ -537,7 +537,10 @@ void PlanFragmentExecutor::close() {
                 // load_channel_profile()->compute_time_in_profile();  // TODO 
load channel profile add timer
                 load_channel_profile()->pretty_print(&ss);
             }
-            LOG(INFO) << ss.str();
+
+            LOG(INFO) << "Query : " << print_id(this->_query_id) << " instance 
"
+                      << 
print_id(this->runtime_state()->fragment_instance_id()) << '\n'
+                      << ss.str();
         }
         LOG(INFO) << "Close() fragment_instance_id="
                   << print_id(_runtime_state->fragment_instance_id());


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

Reply via email to