carloea2 opened a new pull request, #8248:
URL: https://github.com/apache/texera/pull/8248

   ## What changed
   
   Python tuple hashing now processes strings as UTF-16 code units, matching 
Java String hashing for characters outside the basic multilingual plane. 
Existing string hashes remain unchanged.
   
   Closes #8247
   
   ## How was this PR tested?
   
   ```text
   python -c "import sys,pytest; 
sys.path[:0]=[r'C:\Users\carlo\texera\texera-worktrees\investigate-bug60\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_non_bmp_string_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
   1772930
   ```
   
   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]

Reply via email to