diff --git a/dbms/include/DB/Functions/FunctionsDictionaries.h b/dbms/include/DB/Functions/FunctionsDictionaries.h index 8f1ff677b75..d49a8ed8180 100644 --- a/dbms/include/DB/Functions/FunctionsDictionaries.h +++ b/dbms/include/DB/Functions/FunctionsDictionaries.h @@ -1224,7 +1224,7 @@ private: const auto & ids = id_col->getData(); const PODArray dates(size, date_col->getData()); - const auto out = new ColumnVector; + const auto out = new ColumnVector{size}; block.getByPosition(result).column = out; auto & data = out->getData();