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

Improve precision for accurate percentiles

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      Discrete percentiles are expected to only output values from the set of input values upon which percentile is called. However, in some cases such as with type Decimal128 a precision issue arises. Currently, the algorithm uses doubles so it supports precision up until 18 decimal places.

      Continuous percentiles, on the other hand, return results with very long decimal places. We should consider rounding these numbers in some cases.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sophia.yang@mongodb.com Sophia Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: