This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 0593be3f1 [core] Fix hash + probe overflow in HashLookupStoreReader
0593be3f1 is described below

commit 0593be3f13919a751333327378ecd06175bef303
Author: Jingsong <[email protected]>
AuthorDate: Wed Aug 9 16:32:13 2023 +0800

    [core] Fix hash + probe overflow in HashLookupStoreReader
---
 .../main/java/org/apache/paimon/lookup/hash/HashLookupStoreReader.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/paimon-common/src/main/java/org/apache/paimon/lookup/hash/HashLookupStoreReader.java
 
b/paimon-common/src/main/java/org/apache/paimon/lookup/hash/HashLookupStoreReader.java
index b55d96df8..066317d91 100644
--- 
a/paimon-common/src/main/java/org/apache/paimon/lookup/hash/HashLookupStoreReader.java
+++ 
b/paimon-common/src/main/java/org/apache/paimon/lookup/hash/HashLookupStoreReader.java
@@ -158,7 +158,7 @@ public class HashLookupStoreReader
         if (keyLength >= slots.length || keyCounts[keyLength] == 0) {
             return null;
         }
-        int hash = MurmurHashUtils.hashBytesPositive(key);
+        long hash = MurmurHashUtils.hashBytesPositive(key);
         int numSlots = slots[keyLength];
         int slotSize = slotSizes[keyLength];
         int indexOffset = indexOffsets[keyLength];

Reply via email to