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

Sort results of collect_list test before comparing since it is not guaranteed #9313

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Sep 27, 2023

Fixes #9311. Order of items returned in collect_list is not guaranteed. Originally test was modified to try to use a stable sort, but some Spark platforms were still returning a different order. Changed this to use an explicit sort_array which necessitated treating maps separately, as Spark cannot sort maps.

…aranteed

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the test Only impacts tests label Sep 27, 2023
@jlowe jlowe self-assigned this Sep 27, 2023
@jlowe
Copy link
Member Author

jlowe commented Sep 27, 2023

build

@jlowe jlowe merged commit 95d67a9 into NVIDIA:branch-23.10 Sep 27, 2023
30 checks passed
@jlowe jlowe deleted the fix-collect-list-test branch September 27, 2023 23:04
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_hash_groupby_collect_list fails
2 participants