rdblue commented on a change in pull request #24991: [SPARK-28188] Materialize
Dataframe API
URL: https://github.com/apache/spark/pull/24991#discussion_r300189139
##########
File path: core/src/main/scala/org/apache/spark/rdd/RDD.scala
##########
@@ -209,6 +209,11 @@ abstract class RDD[T: ClassTag](
*/
def cache(): this.type = persist()
+ def materialize(): RDD[T] = withScope{
Review comment:
This PR also includes `Dataset.materialize`, which calls this RDD version.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]