clintropolis commented on code in PR #18535:
URL: https://github.com/apache/druid/pull/18535#discussion_r2361203911


##########
processing/src/main/java/org/apache/druid/segment/projections/Projections.java:
##########
@@ -296,6 +292,10 @@ public static ProjectionMatchBuilder matchAggregators(
     }
     boolean allMatch = true;
     for (AggregatorFactory queryAgg : queryCursorBuildSpec.getAggregators()) {
+      AggregatorFactory filterAgg = null;

Review Comment:
   it needs to go after the check for exact aggregator match because we would 
prefer an exact match in case the projection itself defined a filtered 
aggregator, so  this is a fallback to see if a query filtered aggregator can 
use a non-filtered agg



-- 
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]

Reply via email to