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 /sql | |
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 'sql')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/ShuffledRowRDD.scala | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/ShuffledRowRDD.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/ShuffledRowRDD.scala index 5f0c264416..862ee05392 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/ShuffledRowRDD.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/ShuffledRowRDD.scala @@ -33,10 +33,6 @@ private final class ShuffledRowRDDPartition( val startPreShufflePartitionIndex: Int, val endPreShufflePartitionIndex: Int) extends Partition { override val index: Int = postShufflePartitionIndex - - override def hashCode(): Int = postShufflePartitionIndex - - override def equals(other: Any): Boolean = super.equals(other) } /** |