Skip to content

Commit

Permalink
mondodb: fix 'sum' aggregation operator
Browse files Browse the repository at this point in the history
  • Loading branch information
imedina committed Dec 12, 2024
1 parent 10a7f0c commit 7943e1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private MongoDBQueryUtils.Accumulator getAccumulator(Document document) {
}
}
throw new IllegalArgumentException("No accumulators found in facet document: " + StringUtils.join(document.keySet(), ",")
+ " Valid accumulator functions: " + StringUtils.join(Arrays.asList(count, max, min, avg, stdDevPop, stdDevSamp), ","));
+ " Valid accumulator functions: " + StringUtils.join(Arrays.asList(count, sum, max, min, avg, stdDevPop, stdDevSamp), ","));
}

@Override
Expand Down

0 comments on commit 7943e1b

Please sign in to comment.