Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-45049][CONNECT][DOCS][TESTS] Refine docstrings of coalesce/repartition/repartitionByRange #42770

Closed

Conversation

zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Enable doctests for coalesce/repartition/repartitionByRange, by using explain instead of rdd.getNumPartitions

Why are the changes needed?

test coverage

Does this PR introduce any user-facing change?

yes

How was this patch tested?

updated doctests

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

NO

@zhengruifeng
Copy link
Contributor Author

zhengruifeng commented Sep 2, 2023

cc @HyukjinKwon @allisonwang-db

@zhengruifeng zhengruifeng changed the title [SPARK-45049][CONNECT][TESTS] Enable doctests for coalesce/repartition/repartitionByRange [SPARK-45049][CONNECT][DOCS][TESTS] Refine docstrings of coalesce/repartition/repartitionByRange Sep 2, 2023
@HyukjinKwon
Copy link
Member

Merged to master.

@zhengruifeng zhengruifeng deleted the enable_doctest_partition branch September 5, 2023 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants