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

$setUnion implementation in sbe should return Array instead of ArraySet

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 120

      $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.

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

              Created:
              Updated:
              Resolved: