Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99956

Implement CE for all internal schema ME nodes

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: