摘要: 一、转换操作: 1、mapPartitions的相关操作 @Test def mapPartitions():Unit={ //1、数据生成 //2、算子使用 //3、获取结果 sc.parallelize(Seq(1,2,3,4,5,6),2) .mapPartitions(iter=>{ ite 阅读全文
posted @ 2021-01-09 23:50 喜欢爬的孩子 阅读(141) 评论(0) 推荐(0) 编辑