[SERVER-83072] Time-series min/max rewrite broken for arrays Created: 09/Nov/23  Updated: 05/Feb/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Arun Banala Assignee: Arun Banala
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

We currently have an optimization which pushes $group before unpacking if the group has the pattern where group key is on metaField, and the accumulator is a $min/$max. This does not work when the control summary value is array. The min/max for arrays are computed as min/max per element.


Generated at Thu Feb 08 06:51:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.