Return the currently active TaskContext.
Return the currently active TaskContext. This can be called inside of user functions to access contextual information about running tasks.
Set the thread local TaskContext.
Set the thread local TaskContext. Internal to Spark.
Unset the thread local TaskContext.
Unset the thread local TaskContext. Internal to Spark.