package com.rdd算子复习
import org.apache.spark.{
SparkConf, SparkContext}
import org.apache.spark.rdd.RDD
object Test9 {
def main(args: Array[String]): Unit = {
val sparkconf = new SparkConf().setMaster("local[*]").setAppName("wordcount")
val sc =new SparkContext(sparkconf)
val rdd1:RDD[Int]= sc.parallelize(List(
Spark的集合和zip算子
最新推荐文章于 2024-08-24 16:08:02 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)