[SERVER-71692] Test histograms with extreme numeric values Created: 30/Nov/22  Updated: 29/Oct/23  Resolved: 19/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:
Depends
is depended on by SERVER-72819 Estimate the cardinality of extreme v... Backlog
Related
related to SERVER-72807 [CQF] Allow NaN to be added to histog... Closed
is related to SERVER-72850 [CQF] Allow strings with unicode char... Backlog
is related to SERVER-72997 [CQF] Allow histograms with number of... Closed
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We should have integration and/or unit tests that exercise the following scenarios in histogram generation and in estimation of predicates:

  • minimum and maximum values for each type (most importantly numeric)
  • inf/NaN/invalid values- if we can insert these into a collection, we have to make sure we handle them correctly during bucket creation/estimation
  • a wide range of values including extreme types
  • extreme date/time values
  • Decimal128 types that are too large to fit in a double
  • very large arrays
  • very large strings

We need to ensure both that histogram creation on these types results in a valid histogram, and that cardinality estimation for these values (both when present and when absent from a histogram) works adequately.



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

Author:

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

Message: SERVER-71692: Test CQF histograms with extreme BSON values
Branch: master
https://github.com/mongodb/mongo/commit/fae768efb1a4c9d9eba8cbcc653bc6ab6d31deeb

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