Skip to content

Commit ef93c14

Browse files
committed
fix whitespace
1 parent 5312608 commit ef93c14

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

datafusion/functions-aggregate/src/min_max.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)