-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.1.8
-
Component/s: Aggregation Framework, Internal Code
-
Labels:
-
Query Execution
-
Fully Compatible
Currently the $lookUp stage has to duplicate much of the logic of the $unwind stage in order to be able to coalesce with it. It would be nice if the logic could all live in one place. Additionally, DocumentSourceUnwind, and DocumentSourceUnwind::Unwinder share many member variables, and could probably be merged into one class somehow.