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

Use new projection parser in $addFields

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 4.3.1
    • Fix Version/s: Backlog
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: