Allow Decimal128 Infinity value to be inserted into histograms

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: