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

XMLWordPrintableJSON

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

      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
              Reporter:
              Nicholas Zolnierz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: