mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Update RollupBlockInputStream.cpp
This commit is contained in:
parent
7f71bc4189
commit
4c549f79cd
@ -43,6 +43,11 @@ Block RollupBlockInputStream::getHeader() const
|
||||
|
||||
Block RollupBlockInputStream::readImpl()
|
||||
{
|
||||
/** After reading a block from input stream,
|
||||
* we will subsequently roll it up on next iterations of 'readImpl'
|
||||
* by zeroing out every column one-by-one and re-merging a block.
|
||||
*/
|
||||
|
||||
if (current_key >= 0)
|
||||
{
|
||||
auto & current = rollup_block.getByPosition(keys[current_key]);
|
||||
|
Loading…
Reference in New Issue
Block a user