Skip to content

Commit

Permalink
Update dbms/src/Interpreters/Join.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: SeaRise <[email protected]>
  • Loading branch information
windtalker and SeaRise authored Apr 11, 2023
1 parent 5b23886 commit 986f0bf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions dbms/src/Interpreters/Join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -989,15 +989,7 @@ Block Join::joinBlockHash(ProbeProcessInfo & probe_process_info) const
result_blocks.push_back(std::move(block));
}
assert(!result_blocks.empty());
if (result_blocks.size() == 1)
{
return result_blocks[0];
}
else
{
return vstackBlocks(std::move(result_blocks));
}
}
vstackBlocks(std::move(result_blocks));

namespace
{
Expand Down

0 comments on commit 986f0bf

Please sign in to comment.