mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update Pipe.cpp
Add comment.
This commit is contained in:
parent
03273cad9c
commit
bc5b34fb6b
@ -251,6 +251,9 @@ static Pipes removeEmptyPipes(Pipes pipes)
|
||||
return res;
|
||||
}
|
||||
|
||||
/// Calculate comon 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)
|
||||
{
|
||||
Block res;
|
||||
|
Loading…
Reference in New Issue
Block a user