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

Wrap arguments of allElementsTrue and anyElementsTrue in an array within the CNode tree to match the input

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
    • Sprint:
      Query 2020-10-05

      Description

      It would be nice if the CNode tree was structured the same as the BSON query input. We should keep the [] by adding and ArrayChildren level here https://github.com/mongodb/mongo/blob/c39af144b2370be0537410d9bc79be66a1a5f3c7/src/mongo/db/cst/grammar.yy#L1961-L1967

        Attachments

          Activity

            People

            Assignee:
            backlog-query-optimization Backlog - Query Optimization
            Reporter:
            jacob.evans Jacob Evans
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: