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

[CQF] Allow NaN to be added to histograms

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2023-02-06

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: