[SERVER-81496] Weird shapification behavior for $convert/$toString Created: 27/Sep/23 Updated: 10/Jan/24 Resolved: 28/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.1, 7.3.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Charlie Swanson | Assignee: | Mariano Shaar |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Query Integration
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v7.2
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
I noticed this while reviewing the pull request for Current Behavior
will become one of the following, depending on the serialization options: Representative Shape
Debug Shape
Proposed New BehaviorI would propose we do the following instead: Representative Shape
Debug Shape
|
| Comments |
| Comment by Githook User [ 10/Jan/24 ] |
|
Author: {'name': 'Mariano Shaar', 'email': 'mariano.shaar@mongodb.com', 'username': 'shaargtz'}Message: |
| Comment by Githook User [ 28/Nov/23 ] |
|
Author: {'name': 'Mariano Shaar', 'email': 'mariano.shaar@mongodb.com', 'username': 'shaargtz'}Message: |
| Comment by Charlie Swanson [ 28/Sep/23 ] |
|
correct william.qian@mongodb.com! I don't know of others off the top of my head, but it is worth a scan through for whoever is implementing this |
| Comment by William Qian [ 27/Sep/23 ] |
|
This would essentially be a carve-out for $convert to recognize that its to field is a parameter, not input, right? Are there other places where this might apply? |