snleee commented on code in PR #10011:
URL: https://github.com/apache/pinot/pull/10011#discussion_r1053787239
##########
pinot-core/src/main/java/org/apache/pinot/core/query/aggregation/function/CovarianceAggregationFunction.java:
##########
@@ -55,6 +56,9 @@ public class CovarianceAggregationFunction implements
AggregationFunction<Covari
protected final boolean _isSample;
public CovarianceAggregationFunction(List<ExpressionContext> arguments,
boolean isSample) {
+ if (arguments.size() != 2) {
+ throw new BadQueryRequestException("Atleast two expressions need to be
provided to calculate covariance");
Review Comment:
`Atleast` -> `At least` ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]