[SERVER-73510] [CQF] Allow Decimal128 Infinity value to be inserted into histograms Created: 01/Feb/23  Updated: 02/Feb/23

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ben Shteinfeld Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Operating System: ALL
Participants:

 Description   

Inserting infinity into a histogram causes the valueSpread to neighboring values to be NaN. This results in the area of that DataDistribution bucket to be NaN which causes issues when determining the topK buckets during the max-diff algorithm.

One potential solution is to introduce separate counters for infinity like we did for NaN in https://jira.mongodb.org/browse/SERVER-72807.


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