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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]