Spark常用api

    技术2022-07-11  99

    spark core

    transformation

    map

    flatmap

    filter

    mapPartitions

    union

    distinct

    reduceByKey

    groupByKey

    cogroup

    sortByKey

    join

    coalesce

    repartition

    action

    collect

    count

    take

    countByKey

    saveAsTextFile

    foreach

    Processed: 0.010, SQL: 9