Skip to content

Commit

Permalink
fix core
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Sep 27, 2023
1 parent da16ffb commit 0b91cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processors/Transforms/JoiningTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void JoiningTransform::work()
// Process the next chunk after all the current result set is output.
if (!join->supportStreamJoin() || !blocks || blocks->isFinished())
transform(input_chunk);
if (join->supportStreamJoin() && !on_totals)
if (blocks)
{
auto block = blocks->next();
output_chunk.setColumns(block.getColumns(), block.rows());
Expand Down

0 comments on commit 0b91cac

Please sign in to comment.