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

Exhaustive histogram creation testing

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization
    • Fully Compatible
    • QO 2023-02-06
    • 154

      We should have tests for histogram creation that test:

      • mixed-type histograms (all types/ different type combinations) with different numbers of buckets
      • histograms that generate buckets with range values
      • histograms generated on a very large number of values
      • array and scalar variants of the above testing scenarios

      As a note, work done in SERVER-71310 may prove useful in ensuring that valid histograms are generated in all cases by maxdiff, but we may also want to hand-craft some small datasets that should generate a specific shape of maxdiff histogram and unit-test that this is in fact what we generate.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: