[SERVER-10676] $multiply does not support a reference to an array Created: 04/Sep/13  Updated: 06/Dec/22  Resolved: 19/Jan/18

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

Type: Improvement Priority: Major - P3
Reporter: cowstrike Assignee: Backlog - Query Team (Inactive)
Resolution: Duplicate Votes: 1
Labels: expression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-10682 Expose $multiply as both an accumulat... Backlog
is duplicated by SERVER-10681 $multiply operator cannot processed a... Closed
Related
related to SERVER-31991 Allow n-ary aggregation expressions t... Backlog
related to SERVER-10682 Expose $multiply as both an accumulat... Backlog
is related to SERVER-17258 Add $reduce expression operator for r... Closed
is related to SERVER-9334 Aggregation framework - operator for ... Closed
Assigned Teams:
Query
Participants:

 Description   

$multiply does not accept a reference to an array.



 Comments   
Comment by Charlie Swanson [ 19/Jan/18 ]

Hi cowstrike,

This feature has already been requested in SERVER-10682, so I'm marking this request as a duplicate. I will update the summary/description to make it clear that should we implement it, we would likely make $multiply (or perhaps $product) available both as an expression which accepts an array (for use in a $project stage, as it is today) and as an accumulator (for use in a $group stage).

Please watch SERVER-10682 for updates.

Generated at Thu Feb 08 03:23:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.