mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Copy block info in ConvertingBlockInputStream.
This commit is contained in:
parent
93fddc7b46
commit
350881a3da
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user