Github user mridulm commented on a diff in the pull request: https://github.com/apache/spark/pull/448#discussion_r12348272 --- Diff: core/src/main/scala/org/apache/spark/rdd/RDD.scala --- @@ -138,7 +138,7 @@ abstract class RDD[T: ClassTag]( * it is computed. This can only be used to assign a new storage level if the RDD does not * have a storage level set yet.. */ - def persist(newLevel: StorageLevel): RDD[T] = { + def persist(newLevel: StorageLevel): this.type = { // TODO: Handle changes of StorageLevel --- End diff -- So I guess this cant be applied to checkpointRDD and randomSplit ? What about things like filter, distinct, repartition, sample, filterWith etc ?
--- 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. ---