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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Optimization
    • Query 2020-10-05

      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

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            jacob.evans@mongodb.com Jacob Evans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: