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

Golden files related to distinct testing should not contain the expected results twice

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QO 2025-02-17
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      The consequence of this golden test helper function for testing the distinct command is that the expected results are repeated in the golden files. An example of the duplication in practice can be seen here:

      https://github.com/10gen/mongo/blob/2a5142aadfffe6e09f3caac306095b9c1c523673/jstests/query_golden/expected_output/distinct_scan.md#L3-L6

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: