Visitar URL original
[python][ray] Fix flaky primary-key group writer test by XiaoHongbo-Hope · Pull Request #10439 · apache/paimon · GitHub
Skip to content

[python][ray] Fix flaky primary-key group writer test - #10439

Merged
JingsongLi merged 2 commits into
apache:masterfrom
XiaoHongbo-Hope:codex/fix-ray-group-order-test
Oct 8, 2026
Merged

JingsongLi merged 2 commits into
apache:masterfrom
XiaoHongbo-Hope:codex/fix-ray-group-order-test

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Fix a flaky Ray primary-key group writer test. Ray's group-by shuffle does not preserve input row order, so the surviving duplicate-key row need not be the last input row. The test now accepts any input row while retaining its single-file, single-row, and subsequent-write checks.

Test: python -m pytest pypaimon/tests/ray_repartition_test.py::RayShuffleTest::test_primary_key_group_writer_does_not_depend_on_fusion -q (passed).

@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as draft October 8, 2026 08:48
@XiaoHongbo-Hope XiaoHongbo-Hope changed the title [python][ray] Avoid relying on shuffle row order in group writer test [python][ray] Fix flaky primary-key group writer test Oct 8, 2026
@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as ready for review October 8, 2026 10:12
@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit 15ec4fc into apache:master Oct 8, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants