Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2746

Ensure support for $out to S3

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.0
    • Affects Version/s: None
    • Component/s: None

      Currently there is an assumption in the driver that a $out stage looks like this:

      { $out : "collectionName"}
      

      and therefore that the driver can open a cursor on that collection.

      But we will be adding support for something like this:

      { $out : {s3: { ...  } }
      

      We can't necessarily even open a cursor on the S3 bucket.

      I suspect the best way to handle this is to introduce a new Aggregate method that doesn't return a cursor. Perhaps call it AggregateTo. And than method should remove any assumptions about the contents of a $out (or $merge) stage.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: