gianm commented on a change in pull request #7496: refactor druid-bloom-filter 
aggregators
URL: https://github.com/apache/incubator-druid/pull/7496#discussion_r276413326
 
 

 ##########
 File path: 
extensions-core/druid-bloom-filter/src/main/java/org/apache/druid/query/aggregation/bloom/DoubleBloomFilterAggregator.java
 ##########
 @@ -23,20 +23,22 @@
 import org.apache.druid.query.filter.BloomKFilter;
 import org.apache.druid.segment.BaseDoubleColumnValueSelector;
 
+import java.nio.ByteBuffer;
+
 public final class DoubleBloomFilterAggregator extends 
BaseBloomFilterAggregator<BaseDoubleColumnValueSelector>
 
 Review comment:
   I think you could collapse all of these implementations into a single one 
using a similar technique to CardinalityAggregator. (ColumnSelectorPluses 
encapsulating a strategy for reading different types)
   
   No need to do it for this PR, IMO, unless you want to. Just wanted to 
mention the technique.

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