[SERVER-83567] Push in classic stores missing values. Created: 24/Nov/23 Updated: 02/Feb/24 Resolved: 27/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0, 7.2.0-rc2, 6.0.13, 7.0.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Foteini Alvanaki | Assignee: | Foteini Alvanaki |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Minor Change | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.2, v7.0, v6.0
|
||||||||
| Sprint: | QE 2023-12-11 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 135 | ||||||||
| Description |
|
$push in window aggregate in classic stores the value "MISSING" when it finds a document with missing value. In SBE, $push ignores missing (i.e. NOTHING) values. As a result, a collection with a single document with missing value sends to the next stage in classic an array with a single element (MISSING) and in SBE an empty array. The implementation of push in classic should be updated to ignore missing values in add and remove methods.
$push accumulator in classic correctly ignores "MISSING" values. |
| Comments |
| Comment by Githook User [ 02/Feb/24 ] |
|
Author: {'name': 'Matthew Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}Message: GitOrigin-RevId: 3a54ca2787e0592abaef774466a84134aa0cad2c |
| Comment by Githook User [ 27/Nov/23 ] |
|
Author: {'name': 'Foteini Alvanaki', 'email': 'foteini.alvanaki@mongodb.com', 'username': ''}Message: (cherry picked from commit b3d8b635d6fa090ddeeb3740559d89455160847d) |
| Comment by Githook User [ 27/Nov/23 ] |
|
Author: {'name': 'Foteini Alvanaki', 'email': 'foteini.alvanaki@mongodb.com', 'username': ''}Message: (cherry picked from commit b3d8b635d6fa090ddeeb3740559d89455160847d) |
| Comment by Githook User [ 27/Nov/23 ] |
|
Author: {'name': 'Foteini Alvanaki', 'email': 'foteini.alvanaki@mongodb.com', 'username': ''}Message: |