Skip to content

Commit

Permalink
save work
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <[email protected]>
  • Loading branch information
windtalker committed Apr 12, 2023
1 parent 02ed972 commit 9b416a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/Interpreters/JoinUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ void computeDispatchHash(size_t rows,

bool mayProbeSideExpandedAfterJoin(ASTTableJoin::Kind kind, ASTTableJoin::Strictness strictness)
{
/// null aware semi/left semi/anti join never expand the block
/// null aware semi/left semi/anti join never expand the probe side
if (isNullAwareSemiFamily(kind))
return false;
if (isLeftSemiFamily(kind))
return false;
if (isAntiJoin(kind))
return false;
/// strictness == Any means semi join, it never expand the block
/// strictness == Any means semi join, it never expand the probe side
if (strictness == ASTTableJoin::Strictness::Any)
return false;
/// for all the other cases, return true by default
Expand Down

0 comments on commit 9b416a6

Please sign in to comment.