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

Handle non-finite floats in arithmetic window functions

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization
    • Query Optimization 2021-03-22

      For windows which may remove state from the accumulator, its possible to to evaluate to a non-finite value and then incorrectly stay in that state because adding anything to NaN, for instance, will always be NaN (even though the "new" window doesn't have a NaN in it, the state could be carried over from the prior iteration).

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: