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

Simplify command line args for query_tester

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

      We currently have too many arguments with limitations on which combination of arguments are allowed. We should try to condense into more specific ones that fit the use of the query_tester.
      One idea could be to condense it down to:

      • --mode record (equivalent to --mode run --out result)
      • --mode record-oneline (equivalent to --mode run --out oneline)
      • --mode compare (unchanged)
      • --mode normalize-check - check whether a results file is normalized
      • --mode normalize-results - normalize results file. this will likely only be used in the case of handwritten tests that might need to be normalized. --mode record(and record-oneline) should take care of generating normalized results)

      The goal above is to eliminate the --out argument.
      There are probably other ways in which we can simplify the command line args for query_tester

            Assignee:
            naafiyan.ahmed@mongodb.com Naafiyan Ahmed
            Reporter:
            naafiyan.ahmed@mongodb.com Naafiyan Ahmed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: