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

Push in classic stores missing values.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0, 7.2.0-rc2, 6.0.13, 7.0.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • ALL
    • v7.2, v7.0, v6.0
    • QE 2023-12-11
    • 135

      $push in window aggregate in classic stores the value "MISSING" when it finds a document with missing value. In SBE, $push ignores  missing (i.e. NOTHING) values. As a result, a collection with a single document with missing value sends to the next stage in classic an array with a single element (MISSING) and in SBE an empty array. The implementation of push in classic should be updated to ignore missing values in add and remove methods.

       

      $push accumulator in classic correctly ignores "MISSING" values.

            Assignee:
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            Reporter:
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: