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

Implement percent_rank() on GPU #4924

Merged
merged 3 commits into from
Mar 11, 2022

Conversation

NVnavkumar
Copy link
Collaborator

@NVnavkumar NVnavkumar commented Mar 9, 2022

Fixes #4004.

This implements percent_rank() on the GPU using CUDF's existing percentRank() aggregation. However, it does not use the existing batch optimization code because of the non-trivial nature of that potential implementation, combined with the possibility that CUDF will change percentRank() in the future. Tests have been updated as well to include separate tests for percent_rank() since they do not use the same optimization, so the check for GpuRunningWindowExec is removed in those cases.

I also added decimal 128 support to many of the tests, as this was overlooked in the past since now decimal 128 is supported in partition by.

Signed-off-by: Navin Kumar navink@nvidia.com

…d by rank and dense_rank

Signed-off-by: Navin Kumar <navink@nvidia.com>
Signed-off-by: Navin Kumar <navink@nvidia.com>
revans2
revans2 previously approved these changes Mar 10, 2022
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good really just some nits

@NVnavkumar NVnavkumar self-assigned this Mar 10, 2022
@NVnavkumar NVnavkumar marked this pull request as ready for review March 10, 2022 19:30
@NVnavkumar
Copy link
Collaborator Author

build

Signed-off-by: Navin Kumar <navink@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Add support for percent_rank
2 participants