Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72807

[CQF] Allow NaN to be added to histograms

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2023-02-06

      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.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: