Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove unused generic types #5265

Merged

Conversation

HaoYang670
Copy link
Collaborator

Signed-off-by: remzi 13716567376yh@gmail.com
Close #5264

Just to remove some unused type annotations in the implicit classes.

Signed-off-by: remzi <13716567376yh@gmail.com>
@HaoYang670
Copy link
Collaborator Author

build

@sameerz sameerz added the bug Something isn't working label Apr 18, 2022
@jlowe jlowe merged commit aaae73d into NVIDIA:branch-22.06 Apr 20, 2022
@@ -29,13 +29,13 @@ import org.apache.spark.sql.vectorized.ColumnarBatch
*/
object RapidsPluginImplicits {

implicit class ReallyAGpuExpression[A <: Expression](exp: Expression) {
implicit class ReallyAGpuExpression(exp: Expression) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this was meant to be future-proof

implicit class ReallyAGpuExpression[E <: Expression](exp: E) {

def columnarEval(batch: ColumnarBatch): Any = {
exp.asInstanceOf[GpuExpression].columnarEval(batch)
}
}

implicit class AutoCloseableColumn[A <: AutoCloseable](autoCloseable: AutoCloseable) {
implicit class AutoCloseableColumn(autoCloseable: AutoCloseable) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

similarly

implicit class AutoCloseableColumn[A <: AutoCloseable](autoCloseable: A) {

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Delete unused generic type.
4 participants