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.TaskContext.stageId
¶
TaskContext.
stageId
(
)
→ int
[source]
¶
The ID of the stage that this task belong to.
pyspark.TaskContext.resources
pyspark.TaskContext.taskAttemptId