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

Modify allPaths indexes to support equality to empty array

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Query 2018-10-08

      When check if something is equal to an empty array, the planner currently builds the following bounds:

      [[undefined, undefined], [[], []]]
      

      This should "just work" with a $** index, but we should check to be sure.

            Assignee:
            yuta.arai@mongodb.com Yuta Arai
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: