[SERVER-71693] Exhaustive histogram creation testing Created: 30/Nov/22  Updated: 29/Oct/23  Resolved: 27/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Alya Berciu Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-02-06
Participants:
Linked BF Score: 154

 Description   

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.



 Comments   
Comment by Githook User [ 27/Jan/23 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-71693 Exhaustive histogram creation testing
Branch: master
https://github.com/mongodb/mongo/commit/0cda04054daf0d896fdb9b7424d79cfd0c4a7724

Generated at Thu Feb 08 06:19:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.