Skip to content

Commit

Permalink
fix full join failed
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Sep 27, 2023
1 parent 4bb08b4 commit da16ffb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Processors/Transforms/JoiningTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,10 @@ void JoiningTransform::transform(Chunk & chunk)
else
block = readExecute(chunk);
auto num_rows = block.rows();
chunk.setColumns(block.getColumns(), num_rows);
if (!join->supportStreamJoin() || on_totals)
{
chunk.setColumns(block.getColumns(), num_rows);
}
}

void JoiningTransform::joinBlock(Block & block, std::shared_ptr<ExtraBlock> & not_processed_block)
Expand Down

0 comments on commit da16ffb

Please sign in to comment.