[SERVER-77022] [CQF] Pushdown Not through PathConstant Created: 10/May/23  Updated: 29/Oct/23  Resolved: 18/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 handle PathConstant

For example (pseudocode):

  • Not (Constant e) -> Constant (Not e)
    • Should help with constant folding.


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

Author:

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

Message: SERVER-77022 Pushdown Not through PathConstant
Branch: master
https://github.com/mongodb/mongo/commit/e2640024862e96236db20400ca4204eb2e28d404

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