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

Add in window support for average #1615

Merged
merged 2 commits into from
Jan 28, 2021
Merged

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Jan 28, 2021

This adds in support for average as a window operation.

In reality I was asked to see if average worked with decimal values in CUDF for window operations, and it does not. But, Spark will do similar things for averages on decimal values that fit in 64 bits that it does for hashed aggregates (get the unscaled long out and operate on that). So we can now support some decimal queries with average over a window.

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2 revans2 added the feature request New feature or request label Jan 28, 2021
@revans2 revans2 added this to the Jan 18 - Jan 29 milestone Jan 28, 2021
@revans2 revans2 self-assigned this Jan 28, 2021
@revans2
Copy link
Collaborator Author

revans2 commented Jan 28, 2021

build

@revans2
Copy link
Collaborator Author

revans2 commented Jan 28, 2021

build

@revans2 revans2 merged commit e53ef70 into NVIDIA:branch-0.4 Jan 28, 2021
@revans2 revans2 deleted the window_average branch January 28, 2021 21:09
gerashegalov pushed a commit to gerashegalov/spark-rapids that referenced this pull request Jan 29, 2021
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
pxLi pushed a commit to pxLi/spark-rapids that referenced this pull request Feb 25, 2021
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants