-
Notifications
You must be signed in to change notification settings - Fork 240
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
revans2
merged 3 commits into
NVIDIA:branch-21.08
from
revans2:window_aggs_directly_in_exec
Jul 7, 2021
Merged
Refactor window operations to do them in the exec #2882
revans2
merged 3 commits into
NVIDIA:branch-21.08
from
revans2:window_aggs_directly_in_exec
Jul 7, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
revans2
added
the
task
Work required that improves the product but is not user facing
label
Jul 7, 2021
build |
jlowe
reviewed
Jul 7, 2021
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuWindowExec.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuWindowExec.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuWindowExec.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuWindowExec.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuWindowExec.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuWindowExec.scala
Outdated
Show resolved
Hide resolved
jlowe
previously approved these changes
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 |
build |
jlowe
approved these changes
Jul 7, 2021
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.
Doh! Sorry about mixing up defined/empty in my suggestion.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 inGpuWindowExec
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.