mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix RollupTransform.
This commit is contained in:
parent
c3aaf583a0
commit
8228871821
@ -50,7 +50,9 @@ Chunk RollupTransform::generate()
|
|||||||
auto columns = gen_chunk.getColumns();
|
auto columns = gen_chunk.getColumns();
|
||||||
columns[key] = columns[key]->cloneEmpty()->cloneResized(num_rows);
|
columns[key] = columns[key]->cloneEmpty()->cloneResized(num_rows);
|
||||||
|
|
||||||
rollup_chunk = merge({Chunk(std::move(columns), num_rows)}, false);
|
Chunks chunks;
|
||||||
|
chunks.emplace_back(std::move(columns), num_rows);
|
||||||
|
rollup_chunk = merge(std::move(chunks), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
finalizeChunk(gen_chunk);
|
finalizeChunk(gen_chunk);
|
||||||
|
Loading…
Reference in New Issue
Block a user