[SERVER-84921] Investigate creating execution machinery for modifying individual elements of an array in aggregation Created: 13/Apr/20  Updated: 12/Jan/24  Resolved: 30/Apr/20

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

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Query 2020-04-20, Query 2020-05-04
Participants:

 Description   

There's more than one part to this. I would start with these questions:

1) Given a Document (used in aggregation), how can we efficiently modify an individual array element at any path?

2) How can we integrate this with the existing execution machinery for $addFields and $project? Can this be modeled as an expression?



 Comments   
Comment by Ian Boros [ 30/Apr/20 ]

This is superseded by SERVER-47724.

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