clintropolis commented on a change in pull request #9161: first/last 
aggregators and nulls
URL: https://github.com/apache/druid/pull/9161#discussion_r368790320
 
 

 ##########
 File path: 
processing/src/main/java/org/apache/druid/query/aggregation/first/DoubleFirstAggregator.java
 ##########
 @@ -20,42 +20,29 @@
 package org.apache.druid.query.aggregation.first;
 
 import org.apache.druid.collections.SerializablePair;
-import org.apache.druid.query.aggregation.Aggregator;
 import org.apache.druid.segment.BaseDoubleColumnValueSelector;
 import org.apache.druid.segment.BaseLongColumnValueSelector;
 
-public class DoubleFirstAggregator implements Aggregator
+public class DoubleFirstAggregator extends 
NumericFirstAggregator<BaseDoubleColumnValueSelector>
 
 Review comment:
   Well, I guess that is going to happen anyway in making the pair.. so I guess 
maybe the on heap version of get could be shared, but not really possible for 
the buffer aggregator.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to