Skip to content

[SPARK-57707][PYTHON][TESTS] Skip doctest for shuffle#56795

Closed
gaogaotiantian wants to merge 2 commits into
apache:masterfrom
gaogaotiantian:fix-shuffle-doctest
Closed

[SPARK-57707][PYTHON][TESTS] Skip doctest for shuffle#56795
gaogaotiantian wants to merge 2 commits into
apache:masterfrom
gaogaotiantian:fix-shuffle-doctest

Conversation

@gaogaotiantian

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Do not run doctest for shuffle.

Why are the changes needed?

The order of the array from shuffle is random, we should not assert the order.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Local test passed.

Was this patch authored or co-authored using generative AI tooling?

No.

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @gaogaotiantian and @HyukjinKwon!

dongjoon-hyun pushed a commit that referenced this pull request Jun 26, 2026
### What changes were proposed in this pull request?

Do not run doctest for shuffle.

### Why are the changes needed?

The order of the array from shuffle is random, we should not assert the order.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Local test passed.

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

No.

Closes #56795 from gaogaotiantian/fix-shuffle-doctest.

Authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit d0d932a)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member

Thank you, @gaogaotiantian and all.

Merged to master/4.x.

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.

4 participants