The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-8250-e6e621796b3e99add765bc82510aa363aebf8c05
 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
716ab3c1e834350332c83753357440ec7e27c39d / carloea2 <[email protected]>
feat(pyamber): match Java binary hashes (#8250)

### What changes were proposed in this PR?

Python tuple hashing now converts binary field bytes to signed Java byte
values before applying the array hash. Existing values below `0x80`
remain unchanged.

### Any related issues, documentation, discussions?

Closes #8249

### How was this PR tested?

```text
python -c "import sys,pytest; 
sys.path[:0]=[r'C:\Users\carlo\texera\texera-worktrees\investigate-bug61\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_binary_with_high_byte_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
61
```

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Codex

Report URL: https://github.com/apache/texera/actions/runs/43721163979

With regards,
GitHub Actions via GitBox

Reply via email to