Repository navigation
Conversation
Backport auto-label reportThis
|
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8443 +/- ##
=========================================
Coverage 94.03% 94.03%
Complexity 4820 4820
=========================================
Files 1208 1208
Lines 49219 49219
Branches 5982 5982
=========================================
Hits 46284 46284
Misses 1464 1464
Partials 1471 1471
*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 | 406 | 0.248 | 23,392/30,426/30,426 us | 🟢 -20.9% / 🔴 +90.2% |
| 🟢 | bs=100 sw=10 sl=64 | 810 | 0.494 | 121,729/136,570/136,570 us | 🟢 -20.0% / 🔴 +27.1% |
| 🔴 | bs=1000 sw=10 sl=64 | 905 | 0.552 | 1,107,159/1,216,497/1,216,497 us | 🔴 +9.2% / 🔴 +18.6% |
Baseline details
Latest main d0ab10d from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 406 tuples/sec | 409 tuples/sec | 766.26 tuples/sec | -0.7% | -47.0% |
| bs=10 sw=10 sl=64 | MB/s | 0.248 MB/s | 0.25 MB/s | 0.468 MB/s | -0.8% | -47.0% |
| bs=10 sw=10 sl=64 | p50 | 23,392 us | 21,589 us | 12,778 us | +8.4% | +83.1% |
| bs=10 sw=10 sl=64 | p95 | 30,426 us | 38,447 us | 15,999 us | -20.9% | +90.2% |
| bs=10 sw=10 sl=64 | p99 | 30,426 us | 38,447 us | 19,376 us | -20.9% | +57.0% |
| bs=100 sw=10 sl=64 | throughput | 810 tuples/sec | 807 tuples/sec | 995.11 tuples/sec | +0.4% | -18.6% |
| bs=100 sw=10 sl=64 | MB/s | 0.494 MB/s | 0.492 MB/s | 0.607 MB/s | +0.4% | -18.7% |
| bs=100 sw=10 sl=64 | p50 | 121,729 us | 116,927 us | 100,433 us | +4.1% | +21.2% |
| bs=100 sw=10 sl=64 | p95 | 136,570 us | 170,705 us | 107,435 us | -20.0% | +27.1% |
| bs=100 sw=10 sl=64 | p99 | 136,570 us | 170,705 us | 119,856 us | -20.0% | +13.9% |
| bs=1000 sw=10 sl=64 | throughput | 905 tuples/sec | 929 tuples/sec | 1,025 tuples/sec | -2.6% | -11.7% |
| bs=1000 sw=10 sl=64 | MB/s | 0.552 MB/s | 0.567 MB/s | 0.626 MB/s | -2.6% | -11.8% |
| bs=1000 sw=10 sl=64 | p50 | 1,107,159 us | 1,079,553 us | 984,108 us | +2.6% | +12.5% |
| bs=1000 sw=10 sl=64 | p95 | 1,216,497 us | 1,114,108 us | 1,025,832 us | +9.2% | +18.6% |
| bs=1000 sw=10 sl=64 | p99 | 1,216,497 us | 1,114,108 us | 1,052,745 us | +9.2% | +15.6% |
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,492.02,200,128000,406,0.248,23392.26,30425.66,30425.66
1,100,10,64,20,2470.12,2000,1280000,810,0.494,121728.60,136569.56,136569.56
2,1000,10,64,20,22108.22,20000,12800000,905,0.552,1107159.47,1216497.16,1216497.16|
Thanks for picking this up. The fix looks good to me. #7800, which predates this issue, updates the same file to use a per-use-site seeded Random. Tagging @aglinxinyuan, the author of #7800 and the reporter of this issue, for reference so we can decide whether to keep this fix separately. |
|
Superseded by #7800, which repairs the same four One note worth recording: #7800 creates a fresh Closing in favour of #7800. Thanks for the fix and for the before/after coverage runs. |
What changes were proposed in this PR?
Replace the unseeded global
scala.util.Randomusage inIntervalOpExecSpecwith a local seeded random generator (Random(42)). This makes the test inputs deterministic and ensures test execution paths and JaCoCo branch coverage are reproducible across runs.Before:

First Run:
Second Run:

After:

First Run:
Second Run:

Any related issues, documentation, discussions?
Closes #8150
How was this PR tested?
IntervalOpExecSpecsuccessfully.IntervalJoinOpExec.scalabranch coverage changed between runs (20 missed / 78 covered vs. 21 missed / 77 covered).Was this PR authored or co-authored using generative AI tooling?
Generated-by: ChatGPT (5.5 mini)