-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
Similar to MatchExpression splitting in an aggregation pipeline, we want to be able to split an $expr so that we can support use cases including pushdown in front of an unpack bucket stage if it has both meta fields and control fields as arguments. For example, an $expr that looks likeĀ
{$expr: {$and: [{$eq: ["$meta.host", "host_0"]}, {$eq: ["$a", 0]}]}}
should be split into something likeĀ
{$and: [{$expr: {$eq: ["$meta.host", "host_0"]}, {$expr: {$eq: ["$a", 0]}}]}
- is related to
-
SERVER-58134 Map agg comparison predicates on time-series collections to bucket-level fields
- Closed
- related to
-
SERVER-37530 Provide a way to cause a well-defined order of evaluation for predicates
- Backlog
-
SERVER-58134 Map agg comparison predicates on time-series collections to bucket-level fields
- Closed