[Bug](decimalv3) Fix wrong argument for min_by/max_by (#15153)
This commit is contained in:
@ -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<AggregateFunctionTemplate, Data,
|
||||
SingleValueDataFixed<Int32>>(
|
||||
SingleValueDataDecimal<Decimal32>>(
|
||||
argument_types);
|
||||
}
|
||||
if (which.idx == TypeIndex::Decimal64) {
|
||||
return create_aggregate_function_min_max_by_impl<AggregateFunctionTemplate, Data,
|
||||
SingleValueDataFixed<Int64>>(
|
||||
SingleValueDataDecimal<Decimal64>>(
|
||||
argument_types);
|
||||
}
|
||||
if (which.idx == TypeIndex::Decimal128I) {
|
||||
|
||||
Reference in New Issue
Block a user