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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.2
    • None
    • None
    • Fully Compatible
    • Query 2019-11-18, Query 2019-12-02

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: