When the attribute tracked by first/last in the first/last document in the window has a missing attribute the functions return empty results. This is incorrect. According to the documentation they should return null to be consistent with the $group behaviour.
- is depended on by
- 
                    TOOLS-3400 Investigate changes in SERVER-82204: Classic window functions first/last handle missing field incorrectly -         
- Closed
 
-         
- 
                    COMPASS-7376 Investigate changes in SERVER-82204: Classic window functions first/last handle missing field incorrectly -         
- Closed
 
-