dbms: range_hashed dictGet*: add a missing call to resizing constructor of ColumnVector. [#METR-17111]

This commit is contained in:
Andrey Mironov 2015-07-14 18:05:40 +03:00
parent ac2f8dfb13
commit 240d5c5b58

View File

@ -1224,7 +1224,7 @@ private:
const auto & ids = id_col->getData(); const auto & ids = id_col->getData();
const PODArray<UInt16> dates(size, date_col->getData()); const PODArray<UInt16> dates(size, date_col->getData());
const auto out = new ColumnVector<Type>; const auto out = new ColumnVector<Type>{size};
block.getByPosition(result).column = out; block.getByPosition(result).column = out;
auto & data = out->getData(); auto & data = out->getData();