Update JoiningTransform.cpp

This commit is contained in:
alexey-milovidov 2021-03-29 05:25:58 +03:00 committed by GitHub
parent 8f5c8f32df
commit c81d807dbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ void JoiningTransform::transform(Chunk & chunk)
if (on_totals)
{
/// We have to make chunk empty before return
/// In case of using `arrayJoin` we can get more or less columns than one
/// In case of using `arrayJoin` we can get more or less rows than one
auto cols = chunk.detachColumns();
for (auto & col : cols)
col = col->cloneResized(1);