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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QO 2025-02-17
    • None
    • 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
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: