[SERVER-77021] [CQF] Pushdown Not through Default Created: 10/May/23  Updated: 29/Oct/23  Resolved: 19/May/23

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

Type: Improvement Priority: Major - P3
Reporter: Chi-I Huang Assignee: Chi-I Huang
Resolution: Fixed Votes: 0
Labels: Ideas, optimization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-71528 [CQF] Pushdown Not through ComposeA, ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Evergreen 2023-05-15
Participants:

 Description   

We can extend the NotPushdown rewrite to Default

For example (pseudocode):

  • Not (Default e) -> Default (Not e)
    • In an EvalFilter context, Default returns either its argument or the negation of its argument.
    • This will help us combine $not with $exists.


 Comments   
Comment by Githook User [ 19/May/23 ]

Author:

{'name': 'Chi-I Huang', 'email': 'chiihuang@mongodb.com', 'username': ''}

Message: SERVER-77021 Push down Not through PathDefault
Branch: master
https://github.com/mongodb/mongo/commit/b37f855969feee99ea99408b8aad307172984139

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