From 67b47c982f22b8543988701099beec27c4aa5a9c Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Thu, 28 Apr 2016 18:14:52 -0700 Subject: [PATCH] Datasketches: Remove isInputThetaSketch from cache key. (#2899) --- .../theta/SketchMergeAggregatorFactory.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/extensions-core/datasketches/src/main/java/io/druid/query/aggregation/datasketches/theta/SketchMergeAggregatorFactory.java b/extensions-core/datasketches/src/main/java/io/druid/query/aggregation/datasketches/theta/SketchMergeAggregatorFactory.java index 401c7da134e..cefed40b20e 100644 --- a/extensions-core/datasketches/src/main/java/io/druid/query/aggregation/datasketches/theta/SketchMergeAggregatorFactory.java +++ b/extensions-core/datasketches/src/main/java/io/druid/query/aggregation/datasketches/theta/SketchMergeAggregatorFactory.java @@ -150,17 +150,6 @@ public class SketchMergeAggregatorFactory extends SketchAggregatorFactory } } - @Override - public byte[] getCacheKey() - { - final byte[] superCacheKey = super.getCacheKey(); - - return ByteBuffer.allocate(superCacheKey.length + 1) - .put(superCacheKey) - .put(isInputThetaSketch ? (byte) 1 : (byte) 0) - .array(); - } - @Override public boolean equals(Object o) {