Fix build.

This commit is contained in:
Nikolai Kochetov 2020-09-16 14:39:42 +03:00
parent 9a92e5eabb
commit 0800ceab5a

View File

@ -46,7 +46,7 @@ struct NumericArraySink : public ArraySinkImpl<NumericArraySink<T>>
ColumnArray::Offset current_offset = 0;
NumericArraySink(IColumn & elements_, ColumnArray::Offsets & offsets_, size_t column_size)
: elements(elements_), offsets(offsets_)
: elements(assert_cast<ColVecType&>(elements_)), offsets(offsets_)
{
offsets.resize(column_size);
}