You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by zsxwing <gi...@git.apache.org> on 2016/11/18 20:19:25 UTC
[GitHub] spark pull request #15921: [SPARK-18493] Add missing python APIs: withWaterm...
Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/15921#discussion_r88731845
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala ---
@@ -485,7 +485,10 @@ class Dataset[T] private[sql](
def isStreaming: Boolean = logicalPlan.isStreaming
/**
- * Returns a checkpointed version of this Dataset.
+ * Eagerly checkpoint a Dataset and return the new Dataset. Checkpointing can be used to truncate
+ * the logical plan of this Dataset, which is especially useful in iterative algorithms where the
+ * plan may grow exponentially. It will be saved to a file inside the checkpoint
--- End diff --
nit: `a file` -> `files`.
Each partition will be saved to one file.
---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org