[SERVER-44150] MR Agg: Enable tests for output mode 'reduce' with a non-trivial reduce function Created: 22/Oct/19  Updated: 29/Oct/23  Resolved: 19/Nov/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.2

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-43860 Pipeline style update in $merge can p... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-11-18, Query 2019-12-02
Participants:

 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.



 Comments   
Comment by Githook User [ 19/Nov/19 ]

Author:

{'username': 'nzolnierzmdb', 'email': 'nicholas.zolnierz@mongodb.com', 'name': 'Nicholas Zolnierz'}

Message: SERVER-44150 Enable MR tests for output mode 'reduce' with a non-trivial reduce function
Branch: master
https://github.com/mongodb/mongo/commit/0bed872351365fa35107e0d9818d9066642a84a4

Generated at Thu Feb 08 05:05:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.