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

Fix typo in deeply nested projection test case in query_limits_test

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization

      The test runs the following query:

      runAgg([{$project: {nestedProjectField: 1}}]); 

      but it means to run

      runAgg([{$project: {[nestedProjectField]: 1}}]); 

      so that it makes use of the 'nestedProjectField' variable. 

       

      Once this typo is fixed, we'll also need to adjust the query, since 'nestedProjectField' is currently too nested and the server will reject it.

            Assignee:
            Unassigned Unassigned
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: