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

$setUnion implementation in sbe should return Array instead of ArraySet

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 120

    Description

      $setUnion and associated functions currently return ArraySet in sbe. This can result in issues when they are provided as arguments to window stage/group stage with comparison being involved (like $max) since two ArraySets are not comparable. Its probably better to just return Array just like it is done in classic engine.

      Attachments

        Activity

          People

            projjal.chanda@mongodb.com Projjal Chanda
            projjal.chanda@mongodb.com Projjal Chanda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: