createPredicatesOnBucketLevelField with $in should be treated like $or

XMLWordPrintableJSON

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

      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
            Reporter:
            Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: