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

Refactor window operations to do them in the exec #2882

Merged
merged 3 commits into from
Jul 7, 2021

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Jul 7, 2021

This is a precursor to some work for Rank and Dense Rank, and also a precursor to improving performance for running window operations. This is really just refactoring things so that instead of having GpuWindowExpression to the window operation for each expression separately this will group like expressions in GpuWindowExec and submit them as a group to cudf. This is not going to improve performance yet. This is because window expressions in cudf are all run separately right now anyways. But when we start to support groupby scans/etc then we will start to see some performance improvements because some of the processing involved is shared.

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2 revans2 added the task Work required that improves the product but is not user facing label Jul 7, 2021
@revans2 revans2 added this to the July 5 - July 16 milestone Jul 7, 2021
@revans2 revans2 self-assigned this Jul 7, 2021
@revans2
Copy link
Collaborator Author

revans2 commented Jul 7, 2021

build

@revans2 revans2 marked this pull request as draft July 7, 2021 15:52
jlowe
jlowe previously approved these changes Jul 7, 2021
@revans2 revans2 marked this pull request as ready for review July 7, 2021 16:16
@revans2
Copy link
Collaborator Author

revans2 commented Jul 7, 2021

@jlowe please take another look. I messed up some of the rework and put it in draft while I figured out what had happened

@revans2
Copy link
Collaborator Author

revans2 commented Jul 7, 2021

build

Copy link
Member

@jlowe jlowe left a comment

Choose a reason for hiding this comment

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

Doh! Sorry about mixing up defined/empty in my suggestion.

@revans2 revans2 merged commit 3410f68 into NVIDIA:branch-21.08 Jul 7, 2021
@revans2 revans2 deleted the window_aggs_directly_in_exec branch July 7, 2021 18:52
@revans2 revans2 linked an issue Jul 26, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] combine window operations into single call
2 participants