pyspark.RDD.collectWithJobGroup¶
-
RDD.collectWithJobGroup(groupId: str, description: str, interruptOnCancel: bool = False) → List[T]¶ When collect rdd, use this method to specify job group.
Use
pyspark.InheritableThreadwith the pinned thread mode enabled.