Skip to content

Commit

Permalink
Min/Max initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniël Heres committed Jul 5, 2023
1 parent ecc980d commit fede032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/physical-expr/src/aggregate/min_max.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1285,9 +1285,9 @@ where
// Sum partial sums
self.min_max.resize_with(total_num_groups, || {
if MIN {
T::Native::min()
} else {
T::Native::max()
} else {
T::Native::min()
}
});

Expand Down

0 comments on commit fede032

Please sign in to comment.