[SERVER-44348] Disallow $near, $where in mapReduce Created: 31/Oct/19 Updated: 29/Oct/23 Resolved: 19/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Mihai Andrei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2019-11-18, Query 2019-12-02 |
| Participants: |
| Description |
|
mapReduce currently supports query predicates which use $near or $where, but the aggregation framework rejects such predicates. In order to translate a mapReduce to an aggregation we'll have to stop supporting them or figure out some workaround. |
| Comments |
| Comment by Githook User [ 19/Nov/19 ] |
|
Author: {'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com'}Message: |
| Comment by Charlie Swanson [ 31/Oct/19 ] |
|
There don't appear to be any tests covering this combination of features. |