XiaoHongbo-Hope opened a new pull request, #10439:
URL: https://github.com/apache/paimon/pull/10439

   ### Purpose
   
   Fix the intermittent 
`RayShuffleTest.test_primary_key_group_writer_does_not_depend_on_fusion` 
failure. Ray group-by shuffle does not preserve source row order within a 
group, but the test assumed the last source row (`0799`) must win even though 
the table has no `sequence.field`.
   
   ### Changes
   
   - Keep the test focused on its intended contract: one writer and one 
deduplicated row for the bucket.
   - Verify that the surviving row is one of the valid input rows instead of 
assuming shuffle order.
   - Document that deterministic duplicate-key precedence requires 
`sequence.field` with a source version and tie-breaker.
   
   ### Tests
   
   - `python -m pytest 
pypaimon/tests/ray_repartition_test.py::RayShuffleTest::test_primary_key_group_writer_does_not_depend_on_fusion
 -q`
   - `flake8 --config=paimon-python/dev/cfg.ini 
paimon-python/pypaimon/tests/ray_repartition_test.py`
   - `git diff --check`


-- 
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