From 09e90f0e365438157d6c53658fb43d02b890561d Mon Sep 17 00:00:00 2001 From: 924060929 Date: Thu, 19 Dec 2024 20:12:17 +0800 Subject: [PATCH] fix --- be/src/vec/aggregate_functions/aggregate_function_collect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/aggregate_functions/aggregate_function_collect.h b/be/src/vec/aggregate_functions/aggregate_function_collect.h index 2d18a56313f3f91..cd3ac48cbc6d93b 100644 --- a/be/src/vec/aggregate_functions/aggregate_function_collect.h +++ b/be/src/vec/aggregate_functions/aggregate_function_collect.h @@ -265,7 +265,7 @@ struct AggregateFunctionCollectListData { data->insert_range_from( *rhs.data, 0, - std::min(assert_cast(max_size - size()), + std::min(assert_cast(static_cast(max_size - size())), rhs.size())); } else { data->insert_range_from(*rhs.data, 0, rhs.size());