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

Decimal Average Support #3898

Merged
merged 7 commits into from
Oct 26, 2021
Merged

Decimal Average Support #3898

merged 7 commits into from
Oct 26, 2021

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Oct 22, 2021

This depends on #3891

It also includes some rework of reduction by @abellina but he is working on a more complete fix from what I understand in #3833 so we might have to redo things yet again depending on how that goes in.

This fixes #3880

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

From my side, I'll come up with a patch against this (but I may need your help to test it), so I wouldn't worry too much about the conflict. I am also fine if it doesn't go into branch-21.12 yet, so I don't think we need to worry about the two diverging.

@revans2 revans2 marked this pull request as ready for review October 22, 2021 18:49
@revans2 revans2 linked an issue Oct 22, 2021 that may be closed by this pull request
Copy link
Collaborator

@abellina abellina left a comment

Choose a reason for hiding this comment

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

mostly nits

// First pass replace any operations that should be totally replaced.
val replacePass = expr.transformDown {
case GpuWindowExpression(
GpuAggregateExpression(rep: GpuReplaceWindowFunction, _, _, _, _), spec) =>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Indentation seems a little off

@abellina
Copy link
Collaborator

for the doc request, I think we can just do as a follow up too.

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.

Minor nits but otherwise lgtm.

@revans2
Copy link
Collaborator Author

revans2 commented Oct 25, 2021

@abellina @jlowe @sperlingxx please take another look

@revans2 revans2 merged commit 49eaf7a into NVIDIA:decimal128 Oct 26, 2021
@revans2 revans2 deleted the decimal128_avg branch October 26, 2021 13:00
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.

[FEA] Decimal 128 Support: Average aggregation
4 participants