[SERVER-83504] Exclusion projection disables lastpoint optimization in timeseries Created: 21/Nov/23 Updated: 22/Nov/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Backlog - Query Integration |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Integration
|
| Participants: |
| Description |
|
Pipeline
over timeseries with "m" being the metaField and "t" being the timeField triggers lastpoint optimization as expected, however, the same pipeline prefixed with exclusion projection:
does not. But it would be valid to apply the optimization in this case as well (or remove the useless projection altogether). |