[SERVER-78483] Lookup on collated time-series collection produces incorrect results Created: 27/Jun/23 Updated: 27/Oct/23 Resolved: 28/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Arun Banala | Assignee: | Backlog - Query Integration |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Integration
|
| Operating System: | ALL |
| Participants: |
| 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. |