[SERVER-50884] [SBE] Change order of 'from' and 'in' branches in SBE plan strings Created: 11/Sep/20  Updated: 29/Oct/23  Resolved: 11/Sep/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.8.0

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2020-09-21
Participants:

 Description   

Currently, in comes first and from comes second. But this can be confusing, since from is the "outer" branch and in is the "inner" branch. By analogy to the nested loop join (nlj) operator, the outer branch should come first and the inner branch second when printing SBE strings to the console. Similarly, when drawing trees on a whiteboard, the outer branch is drawn as the left child and the inner branch is drawn as the right child.



 Comments   
Comment by Githook User [ 11/Sep/20 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-50884 Change order of SBE traverse 'from' and 'in' branches in debug output
Branch: master
https://github.com/mongodb/mongo/commit/712013ffd49d76c699a5a0128f5605a10b497967

Generated at Thu Feb 08 05:23:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.