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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.2
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Epic Link:
    • Sprint:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: