[SERVER-67282] $add expression should not use DoubleDoubleSummation in SBE Created: 14/Jun/22 Updated: 29/Oct/23 Resolved: 13/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Davis Haupt (Inactive) | Assignee: | Zixuan Zhuang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | QE 2022-07-11, QE 2022-07-25, QE 2022-08-08, QE 2022-08-22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 164 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Right now, the SBE stage builder will transform a $add expression in the query language to a DoubleDoubleSum operation. Using DoubleDoubleSum for $add leads to confusing semantics, as explained in the description for
To remain in sync with the classic engine, the stage builder should instead construct a tree of sbe::EPrimBinary::add operations from the variadic operand list. |
| Comments |
| Comment by Githook User [ 11/Aug/22 ] |
|
Author: {'name': 'Zixuan', 'email': 'leozzx@users.noreply.github.com', 'username': 'leozzx'}Message: |
| Comment by Githook User [ 09/Aug/22 ] |
|
Author: {'name': 'Sviatlana Zuiko', 'email': 'sviatlana.zuiko@mongodb.com', 'username': 'szuiko'}Message: Revert " This reverts commit 1284566dfda0a21a6da9451742967a8f67f586d6. |
| Comment by Githook User [ 08/Aug/22 ] |
|
Author: {'name': 'Zixuan Zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}Message: |