Expand description
Shared value comparison and conversion utilities.
Used by pull-based and push-based aggregate, filter, and sort operators to avoid duplicating comparison logic across six different files.
Functionsยง
- compare_
values - Compares two values with partial ordering (returns
Nonefor incomparable types). - compare_
values_ total - Compares two values with total ordering (returns
Equalfor incomparable types). - is_
greater_ than - Returns
trueifnewis greater thancurrent(for MAX aggregation). - is_
less_ than - Returns
trueifnewis less thancurrent(for MIN aggregation). - value_
to_ f64 - Converts a value to
f64for numeric aggregations.