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

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

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

      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:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            daniel.segel@mongodb.com Daniel Segel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: