Update ColumnAggregateFunction.cpp

This commit is contained in:
templarzq 2021-01-13 10:35:33 +08:00 committed by GitHub
parent 36381ce35e
commit c310f69dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -619,6 +619,7 @@ MutableColumnPtr ColumnAggregateFunction::cloneResized(size_t size) const
size_t from_size = data.size(); size_t from_size = data.size();
auto & res_data = res->data; auto & res_data = res->data;
//copy data to cloned column //copy data to cloned column
if (size <= from_size) if (size <= from_size)
{ {