-
Notifications
You must be signed in to change notification settings - Fork 915
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
Add checks for HLG layers in dask-cudf groupby tests #10853
Add checks for HLG layers in dask-cudf groupby tests #10853
Conversation
Codecov ReportBase: 88.02% // Head: 88.05% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #10853 +/- ##
================================================
+ Coverage 88.02% 88.05% +0.02%
================================================
Files 135 135
Lines 22025 22025
================================================
+ Hits 19388 19394 +6
+ Misses 2637 2631 -6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, nice clean up @charlesbluca !
This PR has been labeled |
@charlesbluca it looks like this PR is just test improvements and was already approved. Any reason not to merge in the latest 22.12, make sure tests pass, then merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor quibbles. I have a slight concern that the second deleted test reduces coverage of corner-cases, can you explain why not?
Co-authored-by: Lawrence Mitchell <[email protected]>
This reverts commit c7eaad1.
@charlesbluca let me know when you think this is ready for another look (e.g. the discussion above is resolved one way or another). |
@wence- this should be good for another round of review. The conclusion of the above discussion was to:
Not sure if you think it would be worth it to add in tests for cumulative aggregations using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two very minor things, but otherwise thanks, LGTM!
@gpucibot merge |
This PR adds helper function
check_groupby_result
to dask-cudf's groupby tests, and is used in the basic tests to ensure that we are using dask-cudf'sgroupby_agg
function to compute the result as expected.I also expanded
test_groupby_agg
to test all supported aggregations, and removed tests that were made superfluous by this change.