-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: 5.2.0
-
Component/s: Server
-
Labels:
-
1
Hi,
I found this error when investigating a ticket reported by a customer: SERVER-69239
In the document, the result of Computing n Based on the Group Key for $group (without using $sort in descending order)
[ { _id: { gameId: "G2" }, gamescores: [ 10 ] }, { _id: { gameId: "G1" }, gamescores: [ 33, 31, 1 ] } ]
should be corrected to:
[ { _id: { gameId: "G2" }, gamescores: [ 80 ] }, { _id: { gameId: "G1" }, gamescores: [ 33, 31, 1 ] } ]
I attached a screen shoot to help locate it in the document. Please let me know if you have any questions.
Thank you.
Regards,
Yuan
- related to
-
SERVER-69239 $lastN ordering issue
- Closed