From 0b6054a4ce9dd5e2ecbf83e300f4e31a3bf502a1 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 19 Dec 2022 10:15:28 +0800 Subject: [PATCH] [Bug](decimalv3) Fix wrong argument for min_by/max_by (#15153) --- .../vec/aggregate_functions/aggregate_function_min_max_by.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {