[SERVER-70088] Unit testing of CE with generated mixed type histograms Created: 29/Sep/22  Updated: 29/Oct/23  Resolved: 18/Oct/22

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

Type: Task Priority: Major - P3
Reporter: Timour Katchaounov Assignee: Milena Ivanova
Resolution: Fixed Votes: 0
Labels: M1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QO 2022-10-17, QO 2022-10-31
Participants:

 Description   

This tasks implements C++ unit tests that strictly test the CE module in isolation. The statistics used in these tests will be of two kinds:

  • Hand-crafted histograms 
    • with mixed types and type bracketing,
    • with bucket boundaries min/ max for the data type.
  • Histograms generated from real data with known properties. Once histograms are generated from the data, the histograms are dumped so that they can be encoded directly into the unit test. The test queries are run against the real dataset, and the actual results are recorded as well. It is ensured that the histogram estimates are reasonably good wrt the actual results. Then the actual test includes: histograms, queries, and verifies that those queries produce certain (already verified) estimates.


 Comments   
Comment by Githook User [ 18/Oct/22 ]

Author:

{'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}

Message: SERVER-70088 Unit testing of CE with generated mixed type histograms
Branch: master
https://github.com/mongodb/mongo/commit/5b175bdc51117ddd4bc8ca6689ac93125174ecd8

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