Update Pipe.cpp

This commit is contained in:
Nikolai Kochetov 2021-04-20 17:36:45 +03:00 committed by GitHub
parent bc5b34fb6b
commit c808ffb04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ static Pipes removeEmptyPipes(Pipes pipes)
return res;
}
/// Calculate comon header for pipes.
/// Calculate common header for pipes.
/// This function is needed only to remove ColumnConst from common header in case if some columns are const, and some not.
/// E.g. if the first header is `x, const y, const z` and the second is `const x, y, const z`, the common header will be `x, y, const z`.
static Block getCommonHeader(const Pipes & pipes)