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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.14.0
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • None
    • Sprint Tone Loc

      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".

       

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

              Created:
              Updated:
              Resolved: