Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1562#discussion_r15566850
  
    --- Diff: core/src/main/scala/org/apache/spark/Partitioner.scala ---
    @@ -103,26 +107,49 @@ class RangePartitioner[K : Ordering : ClassTag, V](
         private var ascending: Boolean = true)
    --- End diff --
    
    It'd be great to update the documentation on when this results in two 
passes vs one pass. We should probably update the documentation for sortByKey 
and various other sorts that use this too. Let's do that in another PR.



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to