[SERVER-71528] [CQF] Pushdown Not through ComposeA, Default, Constant Created: 21/Nov/22 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: | David Percy | Assignee: | Chi-I Huang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Ideas, bonsai-onboarding, optimization | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | QO 2023-05-15, QO 2023-05-29 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
We can extend the NotPushdown rewrite to handle more cases, which can result in better bounds, or at least simpler expressions to evaluate. For example (pseudocode):
|
| Comments |
| Comment by Chi-I Huang [ 11/May/23 ] |
|
I figured that Default and Constant here are actually PathDefault and PathConstant as we have already had constant folding to address the simplification of Constant. |