[SERVER-69808] [CQF] Remove rewrite which composes paths of nested EvalFilters Created: 19/Sep/22  Updated: 29/Oct/23  Resolved: 07/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
Participants:

 Description   

This code performs the following optimization:

EvalFilter p2 (EvalFilter p1 e1) -> EvalFilter (ComposeM p1 p2) e1

 

This would be correct if ComposeM had function composition behavior, but it does not behave that way under an EvalFilter. We don't depend on this rewrite anywhere, so it should be safe to simply remove. More discussion can be found in the ABT design doc.



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

Author:

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

Message: SERVER-69808 Remove rewrite which composes paths of nested EvalFilters
Branch: master
https://github.com/mongodb/mongo/commit/b9f3385b05b6ef5a1fcf9a03d35766e4b532d7ad

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