[SERVER-68446] Unit testing of simple histogram CE with all data types Created: 01/Aug/22 Updated: 29/Oct/23 Resolved: 30/Sep/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-03 |
| Participants: |
| Description |
|
The primary input to CE is statistics, and most of all histograms. This tasks implements C++ unit tests that strictly test the CE module in isolation. Testing should be done as described in the design document Test Plan section. That is: Tests should vary queries in at least the following ways:
Assert that given certain statistics, the CE module produces a certain estimate for various queries. The statistics used in these tests are hand-crafted histograms that explore various edge cases, such as 1-bucket and 2-bucket histograms, boundary values of all types, etc. |
| Comments |
| Comment by Githook User [ 30/Sep/22 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: |