[SERVER-72807] [CQF] Allow NaN to be added to histograms Created: 12/Jan/23 Updated: 29/Oct/23 Resolved: 03/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ben Shteinfeld | Assignee: | Misha Tyulenev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | QO 2023-02-06 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Currently, valueSpread will convert two SBE values to doubles and return their difference. This is used to determine bucket boundaries during the maxdiff algorithm. If one of the values is NaN, we hit the uassert that val1 <= val2 because NaN is neither <, >, or = to any other number. Even if we remove this uassert, we will return NaN from valueSpread which is undesirable. |
| Comments |
| Comment by Githook User [ 03/Feb/23 ] |
|
Author: {'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com', 'username': ''}Message: |