Github user mridulm commented on a diff in the pull request: https://github.com/apache/spark/pull/20002#discussion_r158592810 --- Diff: core/src/main/scala/org/apache/spark/Partitioner.scala --- @@ -21,6 +21,8 @@ import java.io.{IOException, ObjectInputStream, ObjectOutputStream} import scala.collection.mutable import scala.collection.mutable.ArrayBuffer +import scala.language.existentials --- End diff -- If we explicitly set the type, is it still required ? For example, with `val hasMaxPartitioner: Option[RDD[_]] = ...` ?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org