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

Make sure $project aggregation stage shapifies field paths properly

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Integration
    • QO 2023-06-26, QO 2023-07-10, QO 2023-07-24, QO 2023-08-07, QO 2023-08-21, QO 2023-09-04, QO 2023-09-18

    Description

      When we project a field path (e.g., {}{$project: {foo: "$bar"}}), it looks like it's shapifying to {$project: {HASH<foo>: true}} instead of {}{project: {HASH<foo>: "$HASH<bar>"}}. The weird thing is the tests in document_source_project_test all have it right.

      Attachments

        Activity

          People

            erin.zhu@mongodb.com Erin Zhu
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: