[SERVER-69809] [CQF] Condition path rewrites to apply only under EvalPath Created: 19/Sep/22  Updated: 29/Oct/23  Resolved: 25/Oct/22

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

Type: Task Priority: Major - P3
Reporter: Hana Pearlman Assignee: Matt Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QO 2022-10-17, QO 2022-10-31
Participants:

 Description   

There are a couple of existing path fusion rewrites which should be conditioned so they only occur in the EvalPath context. Those are:

1. The rewrite which does the following:

fuse p1 (PathLambda e1)  ->  ComposeM p1 (PathLambda e1)

2. The rewrite which does the following:

fuse p1 (PathConstant e1) -> ComposeM (PathConstant e1) p1

3. The rewrite which does the following:

PathComposeM (p1 | p1 is known to be non-Nothing) (PathDefault e2) -> p1



 Comments   
Comment by Githook User [ 24/Oct/22 ]

Author:

{'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}

Message: SERVER-69809: Condition path rewrites to apply only under EvalPath
Branch: master
https://github.com/mongodb/mongo/commit/354f6c6dfb834e054a50d577eb2b85d106251b72

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