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

createPredicatesOnBucketLevelField with $in should be treated like $or

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 5.3.0
    • Affects Version/s: 5.3.0
    • Component/s: None
    • Fully Compatible
    • ALL

      It's possible that the children of an $in match expression cannot be translated to a predicate on a bucket-level field, e.g. when the children are object- or array-valued. In those cases, we should do what we do for the $or case: mark the entire $in as "always true", rather than inserting potentially null predicates as its translated children.

            Assignee:
            hana.pearlman@mongodb.com Hana Pearlman
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: