-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
QO 2025-02-03, QO 2025-02-17
db.adminCommand({setParameter:1, planRankerMode: "heuristicCE"}) db.c.find({$jsonSchema: {required: ['bax', 'foo'], properties: {name: {bsonType: "string"}}}}) // Success db.c.find({"$jsonSchema":{"properties":{"a":{"items":{},"additionalItems":false}}}}) // Assertion
The task in this ticket is to audit all the internal MatchExpression stages that $jsonSchema can desugar to and ensure they have the ability to be estimated.