Copy block info in ConvertingBlockInputStream.

This commit is contained in:
Nikolai Kochetov 2020-02-21 19:57:22 +03:00
parent 93fddc7b46
commit 350881a3da

View File

@ -98,6 +98,8 @@ Block ConvertingBlockInputStream::readImpl()
return src;
Block res = header.cloneEmpty();
res.info = src.info;
for (size_t res_pos = 0, size = conversion.size(); res_pos < size; ++res_pos)
{
const auto & src_elem = src.getByPosition(conversion[res_pos]);