spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avulanov <>
Subject [GitHub] spark pull request: SPARK-7316 RDD sliding window with step
Date Fri, 01 May 2015 23:48:23 GMT
Github user avulanov commented on a diff in the pull request:
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/rdd/RDDFunctions.scala ---
    @@ -37,12 +37,12 @@ class RDDFunctions[T: ClassTag](self: RDD[T]) extends Serializable
        * trigger a Spark job if the parent RDD has more than one partitions and the window
size is
        * greater than 1.
    -  def sliding(windowSize: Int): RDD[Array[T]] = {
    +  def sliding(windowSize: Int, step: Int = 1): RDD[Array[T]] = {
    --- End diff --
    Should I add a new function instead? Thought there is a default value.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message