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
Unicode strings can route to different hash partitions #8247
Python tuple hashing iterates Unicode code points, while Java String hashing iterates UTF-16 code units. Characters outside the basic multilingual plane therefore produce different tuple hashes in the Python and JVM engines, which can route the same hash-shuffle key to different workers.
Before: the emoji key hashes to 128543 in Python and 1772930 with Java semantics
After: both engines hash the key to 1772930
Python string tuple hashing should iterate UTF-16 code units so hash shuffle routing matches the JVM for every valid Unicode string.
Activity
carloea2 commentedon Sep 5, 2026
/take