Skip to content

Commit

Permalink
Fix smj q14a perf
Browse files Browse the repository at this point in the history
  • Loading branch information
JkSelf authored and glutenperfbot committed Jan 9, 2025
1 parent 5d95d1e commit 52b2ed1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions velox/exec/MergeJoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,10 @@ bool MergeJoin::addToOutputForLeftJoin() {
}
addOutputRow(left, i, right, j);
}

if (isLeftSemiFilterJoin(joinType_) && !filter_) {
break;
}
}
}
}
Expand Down Expand Up @@ -710,6 +714,10 @@ bool MergeJoin::addToOutputForRightJoin() {
addOutputRow(left, j, right, i);
}
}

if (isRightSemiFilterJoin(joinType_) && !filter_) {
break;
}
}
}
}
Expand Down

0 comments on commit 52b2ed1

Please sign in to comment.