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

XMLWordPrintableJSON

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

      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:
            Yoon Soo Kim (Inactive)
            Reporter:
            Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: