Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22085#discussion_r209473887
  
    --- Diff: python/pyspark/taskcontext.py ---
    @@ -95,3 +96,33 @@ def getLocalProperty(self, key):
             Get a local property set upstream in the driver, or None if it is 
missing.
             """
             return self._localProperties.get(key, None)
    +
    +    def barrier(self):
    --- End diff --
    
    Create `BarrierTaskContext` that extends `TaskContext` and then move those 
two methods there.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to