Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1441

PyMongo should ignore batchSize in aggregate with the $out stage

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.6.1
    • None
    • None

    Description

      If aggregate is called with $out no results are returned from the cursor. This is expected behavior since the output is instead stored to an output collection. Sadly, if the application also passes a batchSize of 0 the $out stage is never run. See SERVER-23923 for details.

      This seems like an unlikely scenario, but we should work around it.

      Attachments

        Issue Links

          Activity

            People

              bernie@mongodb.com Bernie Hackett
              rathi.gnanasekaran Rathi Gnanasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: