Datasketches: Remove isInputThetaSketch from cache key. (#2899)

This commit is contained in:
Gian Merlino 2016-04-28 18:14:52 -07:00 committed by Fangjin Yang
parent 0d745ee120
commit 67b47c982f
1 changed files with 0 additions and 11 deletions

View File

@ -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)
{