The $min/max accumulators specifically throw out nullish values, whereas they are kept in a multiset for window functions. The behavior may end up being correct for $max since nulls will generally sort before other types, but for $min we will always return null.
$min/max window function null semantics are different than their accumulator counterparts
- Assignee:
- Mihai Andrei
- Reporter:
- Nicholas Zolnierz
- Votes:
-
0 Vote for this issue
- Watchers:
-
7 Start watching this issue
- Created:
- Updated:
- Resolved: