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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • QE 2022-03-21

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: