Getting Started
User Guide
API Reference
Development
Migration Guide
Spark SQL
Pandas API on Spark
Structured Streaming
MLlib (DataFrame-based)
Spark Streaming
MLlib (RDD-based)
Spark Core
Resource Management
pyspark.BarrierTaskContext.partitionId
¶
BarrierTaskContext.
partitionId
(
)
→ int
¶
The ID of the RDD partition that is computed by this task.
pyspark.BarrierTaskContext.getTaskInfos
pyspark.BarrierTaskContext.resources