You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NaN payloads can route to different hash partitions #8251
Java Double hashing canonicalizes all NaN bit patterns, while Python tuple hashing preserves the raw NaN payload. Noncanonical NaNs therefore produce different tuple hashes in the Python and JVM engines and can route the same hash-shuffle key to different workers.
Before: signaling NaN payload hashes to 2146435104 in Python and 2146959391 with Java semantics
After: every NaN hashes to the Java canonical value 2146959391
Expected behavior:
Python should canonicalize NaN bits before applying the Java double hash so shuffle routing matches the JVM.
Reproduction evidence:
On 50321e403c82df299a13deb50a7f9849dd93bdba, create a double from bits 7ff0000000000001 and hash a tuple containing it.
Activity
carloea2 commentedon Sep 5, 2026
/take