美文网首页
Spark-RDD-countByValue

Spark-RDD-countByValue

作者: Zachary4biz | 来源:发表于2017-07-18 19:38 被阅读0次

    rdd.countByValue

    dfNotNull.map(_.getAs[String]("allSixId")).filter(_.startsWith("advertising_id_s")).countByValue.toList.filter(_._2 > 1).sortBy(_._2).foreach(println)
    

    相关文章

      网友评论

          本文标题:Spark-RDD-countByValue

          本文链接:https://www.haomeiwen.com/subject/tlnhkxtx.html