carloea2 opened a new pull request, #8252: URL: https://github.com/apache/texera/pull/8252
## What changed Python tuple hashing now canonicalizes every NaN bit pattern before applying the Java double hash. Finite values, infinities, and signed zero remain unchanged. Closes #8251 ## How was this PR tested? ```text python -c "import sys,pytest; sys.path[:0]=[r'C:\Users\carlo\texera\texera-worktrees\investigate-bug62\amber\src\main\python',r'C:\Users\carlo\texera\texera\amber\src\main\python']; raise SystemExit(pytest.main(['amber/src/test/python/core/models/test_tuple.py::TestTuple::test_hash_noncanonical_nan_matches_java','amber/src/test/python/core/architecture/sendsemantics/test_partitioners.py','-q','-p','no:cacheprovider']))" 36 passed ruff check amber/src/main/python amber/src/test/python All checks passed ruff format --check amber/src/main/python amber/src/test/python 213 files already formatted ``` Direct reproduction after the fix: ```text 2146959391 ``` Generated-by: Codex -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
