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 $sum accumulator of $group aggregation #2292

Merged
merged 14 commits into from
Mar 29, 2023
Prev Previous commit
Next Next commit
lint
  • Loading branch information
chilagrow committed Mar 28, 2023
commit 93e7b339153122bdf673da4d031271f9900450d0
4 changes: 3 additions & 1 deletion integration/aggregate_compat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,9 @@ func TestAggregateCompatGroupSum(t *testing.T) {
{"_id", "$v"},
{"sum", bson.D{{"$sum", "$v"}}},
{"sum", bson.D{{"$sum", "$s"}}},
}}}},
}}},
bson.D{{"$sort", bson.D{{"_id", -1}}}},
},
resultType: emptyResult,
},
}
Expand Down