Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
  • Loading branch information
windtalker committed Apr 7, 2024
1 parent aa92864 commit 977ee2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/executor/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,8 @@ func (e *hashJoinRuntimeStats) String() string {
buf.WriteString(execdetails.FormatDuration(time.Duration(atomic.LoadInt64(&e.maxFetchAndProbe))))
buf.WriteString(", probe:")
buf.WriteString(execdetails.FormatDuration(time.Duration(e.probe)))
// fetch time is the time wait fetch result from its child executor,
// wait time is the time wait its parent executor to fetch the joined result
buf.WriteString(", fetch and wait:")
buf.WriteString(execdetails.FormatDuration(time.Duration(e.fetchAndProbe - e.probe)))
if e.hashStat.probeCollision > 0 {
Expand Down

0 comments on commit 977ee2c

Please sign in to comment.