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

    https://github.com/apache/spark/pull/1110#discussion_r15508295
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/mllib/rdd/RDDFunctions.scala ---
    @@ -44,6 +47,65 @@ class RDDFunctions[T: ClassTag](self: RDD[T]) {
           new SlidingRDD[T](self, windowSize)
         }
       }
    +
    +  /**
    +   * Reduces the elements of this RDD in a tree pattern.
    +   * @param depth suggested depth of the tree
    +   * @see [[org.apache.spark.rdd.RDD#reduce]]
    +   */
    +  def treeReduce(f: (T, T) => T, depth: Int): T = {
    --- End diff --
    
    is this used at all? if not maybe we don't need it?


---
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