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 2022/02/18 05:07:36 UTC

[GitHub] [spark] LuciferYang commented on a change in pull request #35565: [SPARK-38248][CORE][DSTREAM][PYTHON][SQL] Add `@nowarn` to suppress warnings related to `java.io.Serializable` interface

LuciferYang commented on a change in pull request #35565:
URL: https://github.com/apache/spark/pull/35565#discussion_r809677985



##########
File path: core/src/main/scala/org/apache/spark/Partitioner.scala
##########
@@ -250,6 +251,7 @@ class RangePartitioner[K : Ordering : ClassTag, V](
     result
   }
 
+  @nowarn

Review comment:
       No, for example, if we declare an unused `val` in the func or the input parameter `out` is not used, the currently configured `@nowarn` will not suppress them.
   
   




-- 
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.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

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