Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-152

Can no longer specify out collection for map_reduce

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Bug introduced with git commit: http://github.com/mongodb/mongo-ruby-driver/commit/c25f1f5997c49ee660c5606a35d64509ab633196

      lib/mongo/collection.rb line 482:
      opts.assert_valid_keys(:query, :sort, :limit, :finalize, :keeptemp, :verbose, :raw)

      This needs to allow :out as a valid key. As such, it is not possible to specify the target map reduce collection name with the current ruby driver.

            Assignee:
            kbanker Kyle Banker
            Reporter:
            crudson Doug Hudson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: