diff --git a/be/src/vec/aggregate_functions/aggregate_function_collect.h b/be/src/vec/aggregate_functions/aggregate_function_collect.h index d6dcab33aa6091..de58f628ec9c78 100644 --- a/be/src/vec/aggregate_functions/aggregate_function_collect.h +++ b/be/src/vec/aggregate_functions/aggregate_function_collect.h @@ -256,10 +256,10 @@ struct AggregateFunctionCollectListData { } max_size = rhs.max_size; - data->insert_range_from(*rhs.data, 0, - std::min(assert_cast( - static_cast(max_size - size())), - rhs.size())); + data->insert_range_from( + *rhs.data, 0, + std::min(assert_cast(static_cast(max_size - size())), + rhs.size())); } else { data->insert_range_from(*rhs.data, 0, rhs.size()); }