[SERVER-68811] Timeseries min/max rewrites should use Expression dependencies to identify whether the re-writes are possibles Created: 13/Aug/22 Updated: 07/Nov/23 Resolved: 07/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Svilen Mihaylov (Inactive) | Assignee: | Chris Wolff |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Integration
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QI 2023-10-16, QI 2023-10-30, QI 2023-11-13 |
| Participants: |
| Description |
|
This is an optimization where we can push a $group before an internal bucket unpack. We currently don't support the rewrite when the group key is complicated expression (not ExpressionFieldPath) that depends only on the meta field, e.g. _id: {$add: ["$meta", 42]}. |
| Comments |
| Comment by Githook User [ 01/Nov/23 ] |
|
Author: {'name': 'Christopher M. Wolff', 'email': 'chris.wolff@mongodb.com', 'username': 'wolffcm'}Message: |