[SERVER-30810] Change $_internalSchemaAllElemMatchFromIndex to use an ExpressionWithPlaceholder Created: 24/Aug/17  Updated: 30/Oct/23  Resolved: 14/Sep/17

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

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2017-09-11, Query 2017-10-02
Participants:
Linked BF Score: 0

 Description   

It takes a MatchExpression, but it really should take an ExpressionWithPlaceholder, since it will be matching elements without a path.

The syntax of the expression should be updated to take a placeholder as an argument, which will be used as the path when parsing the subexpression into an ExpressionWithPlaceholder.



 Comments   
Comment by Kyle Suarez [ 13/Sep/17 ]

Author:

{'username': u'ksuarz', 'name': u'Kyle Suarez', 'email': u'kyle.suarez@mongodb.com'}

Message:SERVER-30810 fix member variable typo
Branch:master
https://github.com/mongodb/mongo/commit/b45f342d94bba0804ee6eda9dcd72051ee0efb1d

Comment by Ramon Fernandez Marina [ 13/Sep/17 ]

Author:

{'username': u'ksuarz', 'name': u'Kyle Suarez', 'email': u'kyle.suarez@mongodb.com'}

Message:SERVER-30810 change AllElemMatchFromIndexMatchExpression to use an ExpressionWithPlaceholder
Branch:master
https://github.com/mongodb/mongo/commit/276ffaf54d3cf2c79b673be56822a715a1ab9667

Comment by David Storch [ 06/Sep/17 ]

blake.oler, this one will probably require some explanation. Stop by when you're ready and I'll try to fill you in.

Comment by Kyle Suarez [ 24/Aug/17 ]

CC david.storch and nicholas.zolnierz

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