Use new projection parser in $addFields

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 4.3.1
    • Component/s: Aggregation Framework
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently $addFields stage uses its own parser and validator to parse a raw BSON projection. In SERVER-42988 we added support for the aggregate-style syntax in the new projection parser, meaning that it can now be used to not only parse a $project specification, but also $addFields. Once the new parser is plugged into $addFields, the old parse() method can be removed.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: