diff --git a/be/src/vec/aggregate_functions/aggregate_function_min_max_by.cpp b/be/src/vec/aggregate_functions/aggregate_function_min_max_by.cpp index e7e949e6b1..fbcfcb5ddf 100644 --- a/be/src/vec/aggregate_functions/aggregate_function_min_max_by.cpp +++ b/be/src/vec/aggregate_functions/aggregate_function_min_max_by.cpp @@ -111,12 +111,12 @@ static IAggregateFunction* create_aggregate_function_min_max_by(const String& na } if (which.idx == TypeIndex::Decimal32) { return create_aggregate_function_min_max_by_impl>( + SingleValueDataDecimal>( argument_types); } if (which.idx == TypeIndex::Decimal64) { return create_aggregate_function_min_max_by_impl>( + SingleValueDataDecimal>( argument_types); } if (which.idx == TypeIndex::Decimal128I) {