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

In CQF we erroneously match documents

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL

      In classic, the document `

      {a: [2]}

      ` only matches `{"a.a": {$ne: null}}`.

      However with featureFlagCommonQueryFramework=true internalQueryFrameworkControl="tryBonsai",
      we erroneously match both `{"a.a": {$eq: null}}` and `{"a.a": {$ne: null}}`. This doesn't match our semantics.

      But moreover, it's a logical error as the not equals and equals sets should be distinct unless we're multi-key.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            samuel.mercier@mongodb.com Sam Mercier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: