Repository navigation
Conversation
Automated Reviewer SuggestionsBased on the
|
Backport auto-label reportThis
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8254 +/- ##
=========================================
Coverage 91.81% 91.81%
Complexity 5021 5021
=========================================
Files 1277 1277
Lines 56381 56381
Branches 7362 7362
=========================================
Hits 51765 51765
Misses 2762 2762
Partials 1854 1854
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 539 | 0.329 | 18,056/24,104/24,104 us | 🔴 +13.7% / 🔴 +69.9% |
| 🔴 | bs=100 sw=10 sl=64 | 1,243 | 0.759 | 79,054/109,856/109,856 us | 🔴 +6.0% / 🔴 +14.0% |
| 🔴 | bs=1000 sw=10 sl=64 | 1,461 | 0.892 | 674,379/832,234/832,234 us | 🔴 +15.6% / 🟢 +22.9% |
Baseline details
Latest main e9e5fda from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 539 tuples/sec | 585 tuples/sec | 880.16 tuples/sec | -7.9% | -38.8% |
| bs=10 sw=10 sl=64 | MB/s | 0.329 MB/s | 0.357 MB/s | 0.537 MB/s | -7.8% | -38.8% |
| bs=10 sw=10 sl=64 | p50 | 18,056 us | 15,877 us | 11,544 us | +13.7% | +56.4% |
| bs=10 sw=10 sl=64 | p95 | 24,104 us | 27,205 us | 14,186 us | -11.4% | +69.9% |
| bs=10 sw=10 sl=64 | p99 | 24,104 us | 27,205 us | 17,122 us | -11.4% | +40.8% |
| bs=100 sw=10 sl=64 | throughput | 1,243 tuples/sec | 1,238 tuples/sec | 1,151 tuples/sec | +0.4% | +8.0% |
| bs=100 sw=10 sl=64 | MB/s | 0.759 MB/s | 0.756 MB/s | 0.703 MB/s | +0.4% | +8.0% |
| bs=100 sw=10 sl=64 | p50 | 79,054 us | 80,205 us | 89,900 us | -1.4% | -12.1% |
| bs=100 sw=10 sl=64 | p95 | 109,856 us | 103,665 us | 96,346 us | +6.0% | +14.0% |
| bs=100 sw=10 sl=64 | p99 | 109,856 us | 103,665 us | 110,344 us | +6.0% | -0.4% |
| bs=1000 sw=10 sl=64 | throughput | 1,461 tuples/sec | 1,477 tuples/sec | 1,189 tuples/sec | -1.1% | +22.9% |
| bs=1000 sw=10 sl=64 | MB/s | 0.892 MB/s | 0.901 MB/s | 0.726 MB/s | -1.0% | +22.9% |
| bs=1000 sw=10 sl=64 | p50 | 674,379 us | 682,686 us | 873,675 us | -1.2% | -22.8% |
| bs=1000 sw=10 sl=64 | p95 | 832,234 us | 719,634 us | 918,440 us | +15.6% | -9.4% |
| bs=1000 sw=10 sl=64 | p99 | 832,234 us | 719,634 us | 953,075 us | +15.6% | -12.7% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,370.91,200,128000,539,0.329,18055.81,24103.54,24103.54
1,100,10,64,20,1608.73,2000,1280000,1243,0.759,79053.88,109855.99,109855.99
2,1000,10,64,20,13690.21,20000,12800000,1461,0.892,674378.64,832233.63,832233.63|
I am converting this PR to a draft: please follow our PR template and mark it ready for review. |
|
The description now follows the current template, and this is ready for review. |
02bcf80 to
99fd075
Compare
|
/request-review @sshiv012 @parshimers |
99fd075 to
4869cf2
Compare
|
@mengw15, CI is green and Eugene's comment is addressed. Could you review the latest head and merge? Please also switch the fix label to feature. |
What changes were proposed in this PR?
Hash shuffle now uses the tuple's raw Java-compatible hash method directly, avoiding Python's reserved
-1to-2normalization before receiver selection.Any related issues, documentation, discussions?
Closes #8253
How was this PR tested?
Retested with Python 3.12 in a fresh detached worktree from upstream main at
e9e5fda4bb: 38 partitioner tests pass. The routing override now also explains why it calls the raw hash method.Generate protobufs with
bash bin/python-proto-gen.sh, then run fromamber:Ruff lint and formatting pass for all 218 Python files.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Codex