-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently the bucket unpack stage does has a constraint that does not allow it to appear inside of a $facet stage, e.g., if it contains a $lookup. This was never the intended design and appears to just be an oversight.
We should remove this constraint and add a test showing that such a query works right.