[SERVER-82202] $setUnion implementation in sbe should return Array instead of ArraySet Created: 16/Oct/23  Updated: 20/Oct/23  Resolved: 19/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Projjal Chanda Assignee: Projjal Chanda
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Linked BF Score: 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.



 Comments   
Comment by Projjal Chanda [ 20/Oct/23 ]

Closed this in favor of SERVER-82315

Generated at Thu Feb 08 06:48:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.