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

PyMongo should ignore batchSize in aggregate with the $out stage

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.6.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: