You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/03/16 01:40:57 UTC
[GitHub] [spark] maropu commented on a change in pull request #31838: [MINOR][SQL] Remove unused variable in NewInstance.constructor
maropu commented on a change in pull request #31838:
URL: https://github.com/apache/spark/pull/31838#discussion_r594802606
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala
##########
@@ -457,7 +457,6 @@ case class NewInstance(
}
outerPointer.map { p =>
val outerObj = p()
- val d = outerObj.getClass +: paramTypes
val c = getConstructor(outerObj.getClass +: paramTypes)
Review comment:
Ah, ok. I've checked this var is not used.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org