Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-84921

Investigate creating execution machinery for modifying individual elements of an array in aggregation

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query 2020-04-20, Query 2020-05-04

    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?

      Attachments

        Activity

          People

            ian.boros@mongodb.com Ian Boros
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: