Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16002

[Server] Document the cases where evaluation of $add/$multiply does not follow the user presented order

    XMLWordPrintableJSON

Details

    Description

      https://jira.mongodb.org/browse/SERVER-73154

      dealt with variadic operator ($add and $multilpe) with large oprand list (> 100) by optimizing the representation to balanced tree and therefore no longer following the left to right evaluation order presented by the user.

      We should mention this limitation in the doc that cases like this (sbe, $add/$multiply, large list of operands) the strict L->R order is not followed,

       

      Either here close to the expressions:

       

      https://www.mongodb.com/docs/manual/reference/operator/aggregation/add/

      https://www.mongodb.com/docs/manual/reference/operator/aggregation/multiply/

       

      Or in release notes for 6.3. 

      Attachments

        Activity

          People

            lauren.tran@mongodb.com Lauren Tran
            rushan.chen@mongodb.com Rushan Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              21 weeks, 5 days ago