Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support _id aggregation operators for $group stage #3096

Merged
merged 19 commits into from
Jul 26, 2023
Prev Previous commit
Next Next commit
rm code
  • Loading branch information
noisersup committed Jul 25, 2023
commit 34ac36998013e9e78ca65c18805115c3620f072f
4 changes: 0 additions & 4 deletions internal/handlers/common/aggregations/stages/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,6 @@ func (m *groupMap) addOrAppend(groupKey any, docs ...*types.Document) {
// - ErrFailedToParse when operator has invalid variable expression.
// - ErrGroupInvalidFieldPath when operator has empty path expression.
func processOperatorError(err error) error {
chilagrow marked this conversation as resolved.
Show resolved Hide resolved
if err == nil {
return nil
}

var opErr operators.OperatorError
var exErr *aggregations.ExpressionError

Expand Down