diff options
author | Doris Xin <doris.s.xin@gmail.com> | 2014-06-18 15:01:29 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-06-18 15:01:29 -0700 |
commit | 45a95f82caea55a8616141444285faf58fef128b (patch) | |
tree | b79e5a774dd44d8b7f795918022988e898cef27a /core | |
parent | 4cbeea83e086bbbb1898bf796a5e5b789bc4cc06 (diff) | |
download | spark-45a95f82caea55a8616141444285faf58fef128b.tar.gz spark-45a95f82caea55a8616141444285faf58fef128b.tar.bz2 spark-45a95f82caea55a8616141444285faf58fef128b.zip |
Remove unicode operator from RDD.scala
Some IDEs don’t support unicode characters in source code. Check if this breaks binary compatibility.
Author: Doris Xin <doris.s.xin@gmail.com>
Closes #1119 from dorx/unicode and squashes the following commits:
05618c3 [Doris Xin] Remove unicode operator from RDD.scala
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/rdd/RDD.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/rdd/RDD.scala b/core/src/main/scala/org/apache/spark/rdd/RDD.scala index 1633b18586..cebfd109d8 100644 --- a/core/src/main/scala/org/apache/spark/rdd/RDD.scala +++ b/core/src/main/scala/org/apache/spark/rdd/RDD.scala @@ -446,7 +446,7 @@ abstract class RDD[T: ClassTag]( * Return this RDD sorted by the given key function. */ def sortBy[K]( - f: (T) ⇒ K, + f: (T) => K, ascending: Boolean = true, numPartitions: Int = this.partitions.size) (implicit ord: Ordering[K], ctag: ClassTag[K]): RDD[T] = |