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

Enable approx_percentile by default #4495

Merged
merged 2 commits into from
Jan 12, 2022

Conversation

andygrove
Copy link
Contributor

Signed-off-by: Andy Grove andygrove@nvidia.com

Enable approx_percentile by default.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added this to the Jan 10 - Jan 28 milestone Jan 10, 2022
@andygrove andygrove self-assigned this Jan 10, 2022
@sameerz sameerz added the task Work required that improves the product but is not user facing label Jan 11, 2022
@tgravescs
Copy link
Collaborator

build

revans2
revans2 previously approved these changes Jan 11, 2022
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

Just a small nit, but it looks good even without it.

@@ -3249,6 +3249,11 @@ object GpuOverrides extends Logging {
(c, conf, p, r) => new TypedImperativeAggExprMeta[ApproximatePercentile](c, conf, p, r) {

override def tagAggForGpu(): Unit = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

If you look at Upper or Lower as an example there is a built in way to mark an entire operator as incompat and it lets us put in a doc string with it to explain how it is incompat.

}).incompat("The GPU implementation of approx_percentile is not bit-for-bit " +
    "compatible with Apache Spark.")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I didn't realize we had that. That looks much better and I will update this.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove
Copy link
Contributor Author

build

@andygrove andygrove merged commit 6191989 into NVIDIA:branch-22.02 Jan 12, 2022
@andygrove andygrove deleted the enable-approx-percentile branch January 12, 2022 15:14
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.

5 participants