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

ExpressionAdd in SBE should use doubleDoubleSum built-in when called with more than two operands

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.8.0
    • None
    • Querying
    • Fully Compatible
    • Query 2020-09-07, Query 2020-09-21

    Description

      The doubleDoubleSum VM built-in function uses a special summation algorithm which works better when summing up a series (> 2) of integral values. It should also allow to preserve the existing semantics for this specific scenario.

      We should still use the generic addition instruction for ExpressionAdd with two operands. Also, the existing translation logic for ExpressionAdd assumes it can only be called with two operands, which is not the case and needs to be fixed.

      Attachments

        Activity

          People

            milena.ivanova@mongodb.com Milena Ivanova
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: