Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/21437#discussion_r191622793
--- 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 --
Wait .. it's a dictionary. Does a dictionary's `get` has `default` keyword
argument?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]