[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: |
|
||||
| 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 |