diff options
author | Jacek Laskowski <jacek@japila.pl> | 2016-12-13 09:40:16 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-12-13 09:40:16 +0000 |
commit | 096f868b74d01c3dfc8f09e1e7dfc0ebab65226f (patch) | |
tree | e52546ba8d6de94bc57a2eb60edcb1d3d5a231ee /core/src/main/scala/org | |
parent | 46d30ac4846b3ec94426cc482c42cff72ebd6d92 (diff) | |
download | spark-096f868b74d01c3dfc8f09e1e7dfc0ebab65226f.tar.gz spark-096f868b74d01c3dfc8f09e1e7dfc0ebab65226f.tar.bz2 spark-096f868b74d01c3dfc8f09e1e7dfc0ebab65226f.zip |
[MINOR][CORE][SQL] Remove explicit RDD and Partition overrides
## What changes were proposed in this pull request?
I **believe** that I _only_ removed duplicated code (that adds nothing but noise). I'm gonna remove the comment after Jenkins has built the changes with no issues and Spark devs has agreed to include the changes.
Remove explicit `RDD` and `Partition` overrides (that turn out code duplication)
## How was this patch tested?
Local build. Awaiting Jenkins.
…cation)
Author: Jacek Laskowski <jacek@japila.pl>
Closes #16145 from jaceklaskowski/rdd-overrides-removed.
Diffstat (limited to 'core/src/main/scala/org')
-rw-r--r-- | core/src/main/scala/org/apache/spark/rdd/ShuffledRDD.scala | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/main/scala/org/apache/spark/rdd/ShuffledRDD.scala b/core/src/main/scala/org/apache/spark/rdd/ShuffledRDD.scala index 29d5d74650..26eaa9aa3d 100644 --- a/core/src/main/scala/org/apache/spark/rdd/ShuffledRDD.scala +++ b/core/src/main/scala/org/apache/spark/rdd/ShuffledRDD.scala @@ -25,10 +25,6 @@ import org.apache.spark.serializer.Serializer private[spark] class ShuffledRDDPartition(val idx: Int) extends Partition { override val index: Int = idx - - override def hashCode(): Int = index - - override def equals(other: Any): Boolean = super.equals(other) } /** |