bkuang88 commented on a change in pull request #5832:
URL: https://github.com/apache/incubator-pinot/pull/5832#discussion_r468136800



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/query/aggregation/function/DistinctCountThetaSketchAggregationFunction.java
##########
@@ -57,11 +61,31 @@
  * <p>TODO: For performance concern, use {@code List<Sketch>} as the 
intermediate result.
  */
 public class DistinctCountThetaSketchAggregationFunction implements 
AggregationFunction<Map<String, Sketch>, Long> {
+
+  public enum MergeFunction {

Review comment:
       I got rid of the unit testing method as you suggested. But I personally 
like to keep the enums for type-safety. They don't really have any overhead 
since they are all static right? Happy to change if you feel strongly.




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to