Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions be/src/pipeline/pipeline_fragment_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,11 @@ void PipelineFragmentContext::trigger_report_if_necessary() {
// _runtime_state->load_channel_profile()->compute_time_in_profile(); // TODO load channel profile add timer
_runtime_state->load_channel_profile()->pretty_print(&ss);
}
VLOG_FILE << ss.str();

VLOG_FILE << "Query " << print_id(this->get_query_id()) << " fragment "
<< this->get_fragment_id() << " instance "
<< print_id(this->get_fragment_instance_id()) << " profile:\n"
<< ss.str();
}
auto st = send_report(false);
if (!st.ok()) {
Expand Down Expand Up @@ -917,7 +921,9 @@ void PipelineFragmentContext::_close_fragment_instance() {
if (_runtime_state->load_channel_profile()) {
_runtime_state->load_channel_profile()->pretty_print(&ss);
}
LOG(INFO) << ss.str();

LOG_INFO("Query {} fragment {} instance {} profile:\n {}", print_id(this->_query_id),
this->_fragment_id, print_id(this->get_fragment_instance_id()), ss.str());
}
// all submitted tasks done
_exec_env->fragment_mgr()->remove_pipeline_context(
Expand Down
4 changes: 3 additions & 1 deletion be/src/pipeline/pipeline_x/pipeline_x_fragment_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,9 @@ void PipelineXFragmentContext::_close_fragment_instance() {
if (_runtime_state->load_channel_profile()) {
_runtime_state->load_channel_profile()->pretty_print(&ss);
}
LOG(INFO) << ss.str();

LOG_INFO("Query {} fragment {} profile:\n {}", print_id(this->_query_id),
this->_fragment_id, ss.str());
}
// all submitted tasks done
_exec_env->fragment_mgr()->remove_pipeline_context(
Expand Down