[SERVER-82642] Add isInListData instruction in SBE to enable parameterized InListData to go through SBE isMember logic Created: 31/Oct/23  Updated: 27/Nov/23  Resolved: 14/Nov/23

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

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

Issue Links:
Depends
depends on SERVER-82979 Resolve inconsistency in ABT and SBE ... Closed
depends on SERVER-83312 Add test for constant folding of isIn... Closed
is depended on by SERVER-81505 Enable parameterization of find queries Closed
Related
is related to SERVER-81243 [CQF] Missing case for EqMember in Bi... Closed
is related to SERVER-76904 [SBE] Improve performance of InMatchE... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QO 2023-11-13, QO 2023-11-27
Participants:

 Description   

Currently, sbe plans generated under Bonsai for InMatchExpression's include an isArray check before calling isMember. The isArray check in SBE doesn't interpret InListData as an eligible array, which poses a problem for parameterized InMatchExpression's that are bound as sbe::TypeTags::InListData.

Create a new isInListData check so that parameterized InMatchExpression's that are bound as sbe::TypeTags::InListData will be processed with isMember.



 Comments   
Comment by Githook User [ 14/Nov/23 ]

Author:

{'name': 'Lynne Wang', 'email': 'lynne.wang@mongodb.com', 'username': 'lynne-wang'}

Message: SERVER-82642 Add isInListData instruction in SBE to enable parameterized InListData to go through SBE isMember logic
Branch: master
https://github.com/mongodb/mongo/commit/9302077f2fe933c4b671870a12aafb8e6698a5f2

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