[CSHARP-2746] Ensure support for $out to S3 Created: 18/Sep/19  Updated: 28/Oct/23  Resolved: 09/Mar/20

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.11.0

Type: Improvement Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: 4.4-release-support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-733 $out to S3 Closed
Epic Link: CSHARP-2932

 Description   

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.



 Comments   
Comment by Githook User [ 09/Mar/20 ]

Author:

{'name': 'rstam', 'username': 'rstam', 'email': 'robert@robertstam.org'}

Message: CSHARP-2746: Ensure support for $out to S3.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/22c09c9e76a202a04aa799227e07a783e46f99a6

Generated at Wed Feb 07 21:43:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.