[SERVER-12159] Distinct Count support in Agg pipeline Created: 18/Dec/13 Updated: 13/May/20 Resolved: 19/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 2.5.4 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mark Kromer | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
We are making extensive use of the Agg Pipeline for our Mongo Analytics OLAP project and Distinct Count is one of the most common and popular aggregations requested in OLAP solutions. However, we cannot find native support for distinct count as an agg pipeline aggregation. Is this something that is planned for support in the Mongo agg pipeline or are we missing something? |
| Comments |
| Comment by Stennie Steneker (Inactive) [ 19/Mar/14 ] |
|
Hi Mark, Please be advised I'm closing this issue due to inactivity. Per the comment from Eliot, it seems like there are ways to calculate your desired outcome using the aggregation framework. If that isn't the case, please feel free to reopen with additional details. Thanks, |
| Comment by Eliot Horowitz (Inactive) [ 19/Dec/13 ] |
|
Unless I'm misunderstanding, you can do a group followed by another group. |