diff --git a/dbms/src/Storages/System/IStorageSystemOneBlock.h b/dbms/src/Storages/System/IStorageSystemOneBlock.h index f87a20212ed..9b892adfc5e 100644 --- a/dbms/src/Storages/System/IStorageSystemOneBlock.h +++ b/dbms/src/Storages/System/IStorageSystemOneBlock.h @@ -42,7 +42,10 @@ public: UInt64 num_rows = res_columns.at(0)->size(); Chunk chunk(std::move(res_columns), num_rows); - return { Pipe(std::make_shared(sample_block, std::move(chunk))) }; + Pipes pipes; + pipes.emplace_back(std::make_shared(sample_block, std::move(chunk))); + + return pipes; } };