-
Notifications
You must be signed in to change notification settings - Fork 235
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
Enable approx_percentile by default #4495
Conversation
Signed-off-by: Andy Grove <andygrove@nvidia.com>
build |
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.
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 = { |
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.
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.")
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.
Ah, I didn't realize we had that. That looks much better and I will update this.
sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Andy Grove <andygrove@nvidia.com>
build |
Signed-off-by: Andy Grove andygrove@nvidia.com
Enable approx_percentile by default.