[SERVER-69361] [CQF] Extend path fusion to better handle field dependencies Created: 01/Sep/22  Updated: 29/Oct/23  Resolved: 01/Sep/22

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

Type: Improvement Priority: Major - P3
Reporter: Svilen Mihaylov (Inactive) Assignee: Svilen Mihaylov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-38152 Prune unnecessary branches of the dep... Open
is related to SERVER-38152 Prune unnecessary branches of the dep... Open
Backwards Compatibility: Fully Compatible
Participants:

 Description   

In EvalPath/EvalFilter we can drop dependence on the input (replace it with a constant) if we assign via Field Constant to all fields we keep (via Keep). This allows to potentially optimize away the evaluation node(s) which generate the original input.



 Comments   
Comment by Githook User [ 01/Sep/22 ]

Author:

{'name': 'Svilen Mihaylov', 'email': 'svilen.mihaylov@mongodb.com', 'username': 'smihaylov-mongodb'}

Message: SERVER-69361 [CQF] Extend path fusion to better handle field dependencies
Branch: master
https://github.com/mongodb/mongo/commit/d2979f3ee500ed4dfd5f67fe2c9412f44c9ceb62

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