[SERVER-85803] Block API valueBlockLogicalXXX should handle non-boolean values Created: 26/Jan/24  Updated: 01/Feb/24  Resolved: 01/Feb/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 8.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Alberto Massari Assignee: Alberto Massari
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2024-02-05
Participants:
Linked BF Score: 155

 Description   

In the scalar code, the logical Not operator will convert non-boolean values to Nothing; And and Or will return Nothing if a Nothing is seen, and ignore intermediate non-boolean operands.
Add extensive test cases in a jstest module to ensure MQL compatibility



 Comments   
Comment by Githook User [ 01/Feb/24 ]

Author:

{'name': 'Alberto Massari', 'email': 'alberto.massari@mongodb.com', 'username': 'albymassari'}

Message: SERVER-85803 SBE valueBlockLogicalNot operator handles non-boolean arguments (#18553)

GitOrigin-RevId: 9f9395b824f787fd6ff913fd9eac3a6ec659e6f8
Branch: master
https://github.com/mongodb/mongo/commit/05926f25301b4b2850d4bf2eb8ddbfc257fc2f96

Generated at Thu Feb 08 06:58:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.