GitHub user mengxr opened a pull request: https://github.com/apache/spark/pull/136
[SPARK-1241] Add sliding to RDD Sliding is useful for operations like creating n-grams, calculating total variation, numerical integration, etc. This is similar to https://github.com/apache/incubator-spark/pull/18, but implemented differently. JIRA: https://spark-project.atlassian.net/browse/SPARK-1241 You can merge this pull request into a Git repository by running: $ git pull https://github.com/mengxr/spark sliding Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/136.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #136 ---- commit d2a600d5c0ab8a068cb23bdd422645d8b1a39f0b Author: Xiangrui Meng <m...@databricks.com> Date: 2014-03-13T08:47:45Z add sliding to rdd commit 5ee6001471b1897400fef1e35b5e10fbfb47395f Author: Xiangrui Meng <m...@databricks.com> Date: 2014-03-13T18:49:04Z add TODO ---- --- 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. ---