mirror of https://github.com/apache/druid.git
actually fix it
This commit is contained in:
parent
c6f531168f
commit
12991a959a
|
@ -52,9 +52,9 @@ public class HashBasedNumberedShardSpec extends NumberedShardSpec
|
||||||
public boolean isInChunk(InputRow inputRow)
|
public boolean isInChunk(InputRow inputRow)
|
||||||
{
|
{
|
||||||
int hash = Math.abs(hash(inputRow));
|
int hash = Math.abs(hash(inputRow));
|
||||||
// if (hash == Integer.MIN_VALUE) {
|
if (hash == Integer.MIN_VALUE) {
|
||||||
// hash = 0;
|
hash = 0;
|
||||||
// }
|
}
|
||||||
return hash % getPartitions() == getPartitionNum();
|
return hash % getPartitions() == getPartitionNum();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue