Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/21437#discussion_r191620990
--- Diff: python/pyspark/taskcontext.py ---
@@ -88,3 +89,9 @@ def taskAttemptId(self):
TaskAttemptID.
"""
return self._taskAttemptId
+
+ def getLocalProperty(self, key):
+ """
+ Get a local property set upstream in the driver, or None if it is
missing.
--- End diff --
Just get(key) returns `None` if missing tho ..
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]