GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/22085
[SPARK-25095][PySpark] Python support for BarrierTaskContext
## What changes were proposed in this pull request?
Add method `barrier()` and `getTaskInfos()` in python TaskContext, these
two methods are only allowed for barrier tasks.
## How was this patch tested?
TBD
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark python.barrier
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22085.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22085
----
commit 7b488299709f715d344e5c38956577f31718ab34
Author: Xingbo Jiang <xingbo.jiang@...>
Date: 2018-08-12T16:04:20Z
implement python barrier taskcontext
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]