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

Use num_slices to guarantee partition shape in the pandas udf tests #4154

Merged
merged 2 commits into from
Nov 19, 2021

Conversation

abellina
Copy link
Collaborator

Signed-off-by: Alessandro Bellina abellina@nvidia.com

Closes #3894

This uses the num_slices argument when generating the dataframe such that our tests are resilient to cluster shape changes. This is particular to the pandas/python tests, given that the shape of the partition can mean that math can overflow, due to the nature of the conversions in python.

Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
@abellina
Copy link
Collaborator Author

build

@sameerz sameerz added the test Only impacts tests label Nov 18, 2021
@sameerz sameerz added this to the Nov 15 - Nov 26 milestone Nov 18, 2021
@abellina
Copy link
Collaborator Author

build

@abellina abellina merged commit 45898e0 into NVIDIA:branch-21.12 Nov 19, 2021
@abellina abellina deleted the udf_test_bug branch November 19, 2021 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] test_pandas_scalar_udf and test_pandas_map_udf failed in UCX standalone CI run
4 participants