Implement $querySettings agg stage
(SERVER-77468)
|
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Sub-task | Priority: | Major - P3 |
| Reporter: | Denis Grebennicov | Assignee: | Catalin Sumanaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | M1, auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | QE 2023-06-12, QE 2023-06-26, QE 2023-07-10, QE 2023-07-24, QE 2023-08-07, QE 2023-08-21, QE 2023-09-04, QE 2023-09-18, QE 2023-10-02, QE 2023-10-16, QE 2023-10-30, QE 2023-11-13, QE 2023-11-27 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||
| Description |
|
Instead of introducing a new agg expression, we could compute the QueryShape directly in DocumentSourceQuerySettings::createFromBson() where we populate the queue with the Documents, where we add additional attribute to each of the documents. This approach should be much simpler, involves less code changes and is more performant.
However, neither of the approaches are easy due to the cyclic dependency between QueryShape module and Aggregate command. Curious if |
| Comments |
| Comment by Githook User [ 18/Oct/23 ] |
|
Author: {'name': 'csum112', 'email': 'catalin.sumanaru@mongodb.com', 'username': ''}Message: |
| Comment by Githook User [ 14/Oct/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit ff430ce9d2e6fbae41d5a80d95810547529f9dc8. |
| Comment by Githook User [ 13/Oct/23 ] |
|
Author: {'name': 'csum112', 'email': 'catalin.sumanaru@mongodb.com', 'username': ''}Message: |