pyspark.RDD.toDebugString

RDD. toDebugString ( ) → Optional [ bytes ] [source]

此RDD及其递归依赖项的描述,用于调试。

新增于版本 1.0.0。

Returns
bytes

RDD 的调试信息

示例

>>> rdd = sc.range(5)
>>> rdd.toDebugString()
b'...PythonRDD...ParallelCollectionRDD...'