srowen commented on a change in pull request #23685:
[SPARK-26771][CORE][GRAPHX] Make .unpersist(), .destroy() consistently
non-blocking by default
URL: https://github.com/apache/spark/pull/23685#discussion_r251864686
##########
File path: python/pyspark/rdd.py
##########
@@ -244,13 +244,13 @@ def persist(self, storageLevel=StorageLevel.MEMORY_ONLY):
self._jrdd.persist(javaStorageLevel)
return self
- def unpersist(self):
+ def unpersist(self, blocking=False):
Review comment:
Not sure if we need to annotate this as since 3.0 somehow?
I'd also be OK just not adding this, but it makes the APIs consistent.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]