[DOCS-9919] Add note about dotted field names within $group to 3.4 compatibility changes Created: 17/Feb/17  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Charlie Swanson Assignee: Unassigned
Resolution: Won't Do Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-27969 $group with dotted path name in _id f... Closed
Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769

 Description   

Due to a refactor during the 3.4 development cycle we no longer accept dotted field names inside a $group stage's _id field. So this pipeline no longer works, and returns an error of "FieldPath field names may not contain '.'"

[{$group: {_id: {"name.subname": "$foo", bar: "$bar"}, count: {$sum: 1}}}]

We should add a note about this to our compatibility notes.



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:59:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.