[SERVER-64593] NLJ $lookup fails to match array on foreign side when it is an element in an array on the local side Created: 16/Mar/22 Updated: 29/Oct/23 Resolved: 22/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mihai Andrei | Assignee: | Irina Yatsenko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | QE 2022-04-04 |
| Participants: |
| Description |
|
The following test case fails because neither of these two documents match the following foreign record, even though each document on the local side contains the element to match from the foreign side. Additionally, note that the following test cases fail as well:
|
| Comments |
| Comment by Irina Yatsenko (Inactive) [ 22/Mar/22 ] |
|
Fixed by https://github.com/10gen/mongo/pull/4049, that was merged as https://github.com/mongodb/mongo/commit/a50de54ad246afc5b85720b28e7e89720b4a1d6c |