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

Fix the issue that $group returns different results for in-memory group and spilled group when using $avg

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QE 2022-03-21

      See SERVER-62940 for details. This ticket is to investigate (and potentially implement a fix) whether $avg suffers from the same issue as $sum (it is likely that this is the case given that in the case of a Decimal total for $avg, we convert the DoubleDoubleSummation to a Decimal and lose precision in the same way that $sum does)

            Assignee:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: