在PySpark RDD中,如何使用foreachPartition()打印出每个分区的第一条记录?
foreachPartition()
apache-spark rdd pyspark
apache-spark ×1
pyspark ×1
rdd ×1