$setUnion implementation in sbe should return Array instead of ArraySet

XMLWordPrintableJSON

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

      $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
            Reporter:
            Projjal Chanda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: