Jackie-Jiang commented on a change in pull request #5382:
URL: https://github.com/apache/incubator-pinot/pull/5382#discussion_r424824630
##########
File path:
pinot-core/src/main/java/org/apache/pinot/core/query/request/ServerQueryRequest.java
##########
@@ -94,10 +94,12 @@ public ServerQueryRequest(InstanceRequest instanceRequest,
ServerMetrics serverM
if (aggregationsInfo != null) {
_aggregationExpressions = new HashSet<>();
for (AggregationInfo aggregationInfo : aggregationsInfo) {
- if
(!aggregationInfo.getAggregationType().equalsIgnoreCase(AggregationFunctionType.COUNT.getName()))
{
- for (String expressions :
AggregationFunctionUtils.getArguments(aggregationInfo)) {
-
_aggregationExpressions.add(TransformExpressionTree.compileToExpressionTree(expressions));
- }
+ String aggregationType = aggregationInfo.getAggregationType();
Review comment:
I would recommend specialize THETA_SKETCHES, so that it won't affect
DISTINCT
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]