[SERVER-45452] [no sharding] Support and test reading from a view using $unionWith Created: 09/Jan/20 Updated: 29/Oct/23 Resolved: 03/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Charlie Swanson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Query 2020-01-27, Query 2020-02-10 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This should involve looking for the resolved namespace on the expression context and prepending the view definition, if any. I've attached a POC patch which should work. That patch also minorly refactors some tests. |
| Comments |
| Comment by Githook User [ 03/Feb/20 ] |
|
Author: {'name': 'Charlie Swanson', 'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com'}Message: |