[COMPASS-4672] Implement autocomplete for $count accumulator Created: 24/Feb/21  Updated: 25/Aug/23  Resolved: 16/Dec/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: post-5.0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-54236 Implement $count accumulator Closed
Epic Link: COMPASS-5311
Story Points: 1
Documentation Changes: Not Needed
Sprint: Iteration Reno

 Description   
Downstream Change Summary

This ticket adds $count as an accumulator to the $group stage. `{ $count: {} }` is desugared to `

Unknown macro: { $sum}

`,

Description of Linked Ticket

This task is for adding support for $count as an accumulator to the $group stage.



 Comments   
Comment by Massimiliano Marcon [ 16/Dec/21 ]

This is already there.

Comment by Massimiliano Marcon [ 26/Nov/21 ]

Tentatively adding this to 5.2 epic. Seems trivial given that we are already adding other accumulators.

Generated at Wed Feb 07 22:37:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.