Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2833

when $out is last stage, agg builder should not add any stages after it

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.14.0
    • None
    • Aggregation pipeline
    • None
    • 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".

       

      Attachments

        Activity

          People

            durran.jordan@mongodb.com Durran Jordan
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: