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

Split window exec into multiple stages if needed #2845

Merged
merged 2 commits into from
Jun 30, 2021

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Jun 29, 2021

This fixes #2688

It does not go all the way and change window functions so that they are combined into fewer calls. I plan on doing that in a follow on PR because this was large enough already. I tested this on databricks.

One of the big advantages to this is that on databricks we now can now optimized for GpuRunningWindowExec even if there are complicated operations.

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 Jun 29, 2021
@revans2 revans2 added this to the June 21 - July 2 milestone Jun 29, 2021
@revans2 revans2 self-assigned this Jun 29, 2021
@revans2
Copy link
Collaborator Author

revans2 commented Jun 30, 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.

Would be good to have a windowing expert take a look at this as well, but overall it looks good to me. Only minor comments.

@revans2
Copy link
Collaborator Author

revans2 commented Jun 30, 2021

build

@revans2
Copy link
Collaborator Author

revans2 commented Jun 30, 2021

build

@revans2 revans2 merged commit 628a9ce into NVIDIA:branch-21.08 Jun 30, 2021
@revans2 revans2 deleted the window_split_execs branch June 30, 2021 20:19
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] Split window expressions into pre, window, and post operations
2 participants