[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: |