[GODRIVER-1718] MapReduce functionality is Major Miss Created: 14/Aug/20 Updated: 21/Nov/22 Resolved: 21/Nov/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Shantanu Bansal | Assignee: | Matt Dale |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
we need to introduce MapReduce functionality in the driver which is supported by mongo db shell. This can help writing complex queries for the mongodb |
| Comments |
| Comment by Matt Dale [ 21/Nov/22 ] |
|
Hey shantanubansal05@gmail.com, since this ticket was opened, the Map-Reduce functionality was deprecated (starting in MongoDB 5.0), so we're not planning to support it in the Go driver. Instead, please use the Go driver Aggregate API. Check out more usage examples for running aggregations with the Go driver here. Thanks! |
| Comment by Divjot Arora (Inactive) [ 20/Aug/20 ] |
|
Hi shantanubansal05@gmail.com, Thank you for the feature request. We'll do some research into adding a mapReduce API to the driver as part of a larger usability improvements project. I see that the mgo driver had an API for this (https://pkg.go.dev/github.com/globalsign/mgo?tab=doc) so we may use that as a starting point when we consider the API we want to add. – Divjot |