Update arrayConcat

This commit is contained in:
Nikolai Kochetov 2020-09-16 16:14:46 +03:00
parent 2a2e369c6e
commit 715b1a41ed

View File

@ -28,7 +28,7 @@ struct ArrayConcat : public ArraySourceSelector<ArrayConcat>
result = ColumnArray::create(source.createValuesColumn());
Sink sink(result->getData(), result->getOffsets(), source.getColumnSize());
concat<SourceType, Sink>(sources, sink);
concat<SourceType, Sink>(sources, std::move(sink));
}
template <typename Source>
@ -39,7 +39,7 @@ struct ArrayConcat : public ArraySourceSelector<ArrayConcat>
result = ColumnArray::create(source.createValuesColumn());
Sink sink(result->getData(), result->getOffsets(), source.getColumnSize());
concat<SourceType, Sink>(sources, sink);
concat<SourceType, Sink>(sources, std::move(sink));
}
template <typename Source>
@ -50,7 +50,7 @@ struct ArrayConcat : public ArraySourceSelector<ArrayConcat>
result = ColumnArray::create(source.createValuesColumn());
Sink sink(result->getData(), result->getOffsets(), source.getColumnSize());
concat<SourceType, Sink>(sources, sink);
concat<SourceType, Sink>(sources, std::move(sink));
}
};