mirror of https://github.com/apache/druid.git
Datasketches: Remove isInputThetaSketch from cache key. (#2899)
This commit is contained in:
parent
0d745ee120
commit
67b47c982f
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue