-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2023-11-27
The SBE implementation of $minN/$topN in group stage is implemented using a heap. As part of the implementation in SBE of $minN/$topN for the window stage, the multiset/multimap data structure was introduced. We should replace the heap with multiset/multimap if it has performance gains.