fix build

This commit is contained in:
Nikolai Kochetov 2018-03-19 20:17:41 +03:00
parent ae4ceabd4b
commit 5413e91303

View File

@ -131,7 +131,7 @@ Block flatten(const Block & block)
for (size_t i = 0; i < tuple_size; ++i)
{
String nested_name = concatenateName(elem.name, names[i]);
ColumnPtr column_array_of_element = ColumnArray::create(element_columns[i], column_offsets);
ColumnPtr column_array_of_element = ColumnArray::create((*std::move(element_columns[i])).mutate(), column_offsets);
res.insert(ColumnWithTypeAndName(
is_const