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

MR Agg: Enable tests for output mode 'reduce' with a non-trivial reduce function

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2019-11-18, Query 2019-12-02

      As part of SERVER-43303, I wasn't able to enable the map_reduce_reduce.js FSM test since the reduce function assumes that each value is an object with a set structure. However, in the translation to agg, we're building a $merge with a pipeline to run when there is a matching document in the target collection. Until we do SERVER-43860 the final reduce will fail since one of the values will be null.

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: