[COMPASS-2833] when $out is last stage, agg builder should not add any stages after it Created: 07/May/18  Updated: 29/Oct/23  Resolved: 16/May/18

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.14.0

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sprint Tone Loc

 Description   

When I added $out aggregation stage, I got error "$out can only be the final stage in the pipeline" probably because a $limit was automatically tacked on after it.  Such limit should be omitted after "$out".

 



 Comments   
Comment by Githook User [ 16/May/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2833: Handle from agg pipeline
Branch: master
https://github.com/10gen/compass/commit/f34206efc8e956f4219975096016796e82a0a92f

Comment by Githook User [ 16/May/18 ]

Author:

{'email': 'durran@gmail.com', 'username': 'durran', 'name': 'Durran Jordan'}

Message: COMPASS-2833: Handle from agg pipeline
Branch: COMPASS-2833
https://github.com/10gen/compass/commit/340c79c796623baa4ee423654c6bc3c68e147086

Generated at Wed Feb 07 22:31:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.