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

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

commit 4010d68f273c845e4cb51285a1b673ef85d4d44b
Author: HappenLee <happen...@hotmail.com>
AuthorDate: Thu Aug 3 20:46:15 2023 +0800

    [exec](join) Print join type in profile (#22567)
---
 be/src/vec/exec/join/vjoin_node_base.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/vec/exec/join/vjoin_node_base.cpp 
b/be/src/vec/exec/join/vjoin_node_base.cpp
index a4e1493d58..d9cb9e81fd 100644
--- a/be/src/vec/exec/join/vjoin_node_base.cpp
+++ b/be/src/vec/exec/join/vjoin_node_base.cpp
@@ -108,6 +108,7 @@ VJoinNodeBase::VJoinNodeBase(ObjectPool* pool, const 
TPlanNode& tnode, const Des
 
 Status VJoinNodeBase::prepare(RuntimeState* state) {
     RETURN_IF_ERROR(ExecNode::prepare(state));
+    runtime_profile()->add_info_string("JoinType", to_string(_join_op));
     _build_phase_profile = runtime_profile()->create_child("BuildPhase", true, 
true);
     _build_get_next_timer = ADD_TIMER(_build_phase_profile, 
"BuildGetNextTime");
     _build_timer = ADD_TIMER(_build_phase_profile, "BuildTime");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to