Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Using a similar approach as the sum kernel (ARROW-10015). Instead of initializing the accumulator with 0 we'd need the largest/smallest possible value for each ArrowNumericType (i.e. u64::MAX or +-Inf)
Pseudo code for min aggregation
// initialize accumulator min_acc = +Inf // aggregate each chunk min_acc = min(min_acc, select(valid, value, +Inf))
Attachments
Issue Links
- links to