File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
datafusion/functions-aggregate/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1187,12 +1187,6 @@ impl AggregateUDFImpl for Min {
11871187 Timestamp ( Nanosecond , _) => {
11881188 primitive_min_accumulator ! ( data_type, i64 , TimestampNanosecondType )
11891189 }
1190- Decimal128 ( _, _) => {
1191- primitive_min_accumulator ! ( data_type, i128 , Decimal128Type )
1192- }
1193- Decimal256 ( _, _) => {
1194- primitive_min_accumulator ! ( data_type, i256, Decimal256Type )
1195- }
11961190 Duration ( Second ) => {
11971191 primitive_min_accumulator ! ( data_type, i64 , DurationSecondType )
11981192 }
@@ -1205,6 +1199,12 @@ impl AggregateUDFImpl for Min {
12051199 Duration ( Nanosecond ) => {
12061200 primitive_min_accumulator ! ( data_type, i64 , DurationNanosecondType )
12071201 }
1202+ Decimal128 ( _, _) => {
1203+ primitive_min_accumulator ! ( data_type, i128 , Decimal128Type )
1204+ }
1205+ Decimal256 ( _, _) => {
1206+ primitive_min_accumulator ! ( data_type, i256, Decimal256Type )
1207+ }
12081208 Utf8 | LargeUtf8 | Utf8View | Binary | LargeBinary | BinaryView => {
12091209 Ok ( Box :: new ( MinMaxBytesAccumulator :: new_min ( data_type. clone ( ) ) ) )
12101210 }
You can’t perform that action at this time.
0 commit comments