mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Added comment.
This commit is contained in:
parent
23c5c6f874
commit
fddb021951
@ -98,6 +98,8 @@ Block ConvertingBlockInputStream::readImpl()
|
||||
return src;
|
||||
|
||||
Block res = header.cloneEmpty();
|
||||
/// This is important because header.cloneEmpty() doesn't copy info about aggregation bucket.
|
||||
/// Otherwise information in buckets may be lost (and aggregation will return wrong result).
|
||||
res.info = src.info;
|
||||
|
||||
for (size_t res_pos = 0, size = conversion.size(); res_pos < size; ++res_pos)
|
||||
|
Loading…
Reference in New Issue
Block a user