diff --git a/paimon-common/src/main/java/org/apache/paimon/fileindex/bloomfilter/BloomFilterFileIndex.java b/paimon-common/src/main/java/org/apache/paimon/fileindex/bloomfilter/BloomFilterFileIndex.java index 83d6b64b64b1..2fb234a335e0 100644 --- a/paimon-common/src/main/java/org/apache/paimon/fileindex/bloomfilter/BloomFilterFileIndex.java +++ b/paimon-common/src/main/java/org/apache/paimon/fileindex/bloomfilter/BloomFilterFileIndex.java @@ -120,9 +120,9 @@ public Reader(DataType type, byte[] serializedBytes) { // big endian int numHashFunctions = ((serializedBytes[0] << 24) - + (serializedBytes[1] << 16) - + (serializedBytes[2] << 8) - + serializedBytes[3]); + | (serializedBytes[1] << 16) + | (serializedBytes[2] << 8) + | serializedBytes[3]); BitSet bitSet = new BitSet(serializedBytes, 4); this.filter = new BloomFilter64(numHashFunctions, bitSet); this.hashFunction = FastHash.getHashFunction(type);