-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Compass
-
None
I have a pipeline with two stages, $match and $group. I disable the $match stage using the toggle and copy the pipeline to the clipboard. The result is this:
, { $group: { _id: "$departureAirportFsCode", flights: { $push: "$flightId" }} }
The comma preceding the stage shouldn't appear, since there is only one stage enabled.