Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
None
-
Query Integration
-
ALL
Description
A $lookup on a time-series collection that uses collation produces incorrect results. This is potentially because the $lookup part of the pipeline is using control summaries which are generated under the assumption that they are only used for collated queries. It seems like we are incorrectly using the it for non-collated queries.
We should also test for $unionWith and $graphLookup which also allow foreign collections.