Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/410#discussion_r11620835
--- Diff: core/src/main/scala/org/apache/spark/Partitioner.scala ---
@@ -89,12 +89,14 @@ class HashPartitioner(partitions: Int) extends
Partitioner {
* A [[org.apache.spark.Partitioner]] that partitions sortable records by
range into roughly
* equal ranges. The ranges are determined by sampling the content of the
RDD passed in.
*/
-class RangePartitioner[K <% Ordered[K]: ClassTag, V](
+class RangePartitioner[K : Ordering : ClassTag, V](
--- End diff --
Can the user still pass in an Ordering if they want a specific Ordering?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---