-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50335][PYTHON][DOCS][FOLLOW-UP] Make percentile doctests more …
…stable ### What changes were proposed in this pull request? Make percentile doctests more stable: 1, do not compare the numbers exactly; 2, sort the result dataframe of aggregation; ### Why are the changes needed? the test may fail in different envs: cpus, java versions, etc ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? ci ### Was this patch authored or co-authored using generative AI tooling? no Closes #48892 from zhengruifeng/stable_doc_tests. Authored-by: Ruifeng Zheng <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information
1 parent
19509d0
commit 37497e6
Showing
1 changed file
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters