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

Make sure $project aggregation stage shapifies field paths properly

    • Type: Icon: Task Task
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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

      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.

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

              Created:
              Updated:
              Resolved: