欢迎关注github《大数据成神之路》
目录
Transformation算子
基本的初始化
一、map、flatMap、mapParations、mapPartitionsWithIndex
1.1 map
1.2 flatMap
1.3 mapPartitions
1.4 mapPartitionsWithIndex
二、reduce、reduceByKey
2.1 reduce
2.2 reduceByKey
三、union,join和groupByKey
3.1 union
3.2 groupByKey
3.3 join
四、sample、cartesian
4.1 sample
4.2 cartesian
五、filter、distinct、intersection
5.1 filter
5.2 distinct
5.3 intersection
六、coalesce、repartition、repartitionAndSortWithinPartitions
6.1 c