mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
Try fix summing.
This commit is contained in:
parent
47eccf2332
commit
c53b902d6c
@ -117,7 +117,7 @@ void AggregatingSortedTransform::updateCursor(Chunk chunk, size_t source_num)
|
|||||||
{
|
{
|
||||||
/// Extend lifetime of last chunk.
|
/// Extend lifetime of last chunk.
|
||||||
last_chunk = std::move(source_chunk);
|
last_chunk = std::move(source_chunk);
|
||||||
last_chunk_sort_columns = std::move(cursors[source_num].all_columns);
|
last_chunk_sort_columns = std::move(cursors[source_num].sort_columns);
|
||||||
|
|
||||||
source_chunk = std::move(chunk);
|
source_chunk = std::move(chunk);
|
||||||
cursors[source_num].reset(source_chunk.getColumns(), {});
|
cursors[source_num].reset(source_chunk.getColumns(), {});
|
||||||
|
@ -411,7 +411,7 @@ void SummingSortedTransform::updateCursor(Chunk chunk, size_t source_num)
|
|||||||
{
|
{
|
||||||
/// Extend lifetime of last chunk.
|
/// Extend lifetime of last chunk.
|
||||||
last_chunk = std::move(source_chunk);
|
last_chunk = std::move(source_chunk);
|
||||||
last_chunk_sort_columns = std::move(cursors[source_num].all_columns);
|
last_chunk_sort_columns = std::move(cursors[source_num].sort_columns);
|
||||||
|
|
||||||
source_chunk = std::move(chunk);
|
source_chunk = std::move(chunk);
|
||||||
cursors[source_num].reset(source_chunk.getColumns(), {});
|
cursors[source_num].reset(source_chunk.getColumns(), {});
|
||||||
|
Loading…
Reference in New Issue
Block a user