Introduce utility function(s) for comparing explain output in golden testing

XMLWordPrintableJSON

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

      Add new function(s) that can extract the skeleton of an explain output and enable comparison of two explain outputs via golden testing. The resulting output should contain relevant data for comparison, i.e. explainVersion, winningPlan stages, rejectedPlans, etc. but no unique information to each run i.e. serverInfo, optimization time, etc. Currently we only have getPlanSkeleton which is similar in concept.

      This idea arose when testing explain output for classic multiplanner + SBE, as there is no simple way to test that the joint explain output contains relevant sections of both classic and sbe's respective explain outputs.

              Assignee:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              Daniel Segel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: