5.RDD

总共有多少学生?map(), distinct(), count()

 

 .开设了多少门课程?

 

 每个学生选修了多少门课?map(), countByKey()

 

 每门课程有多少个学生选?map(), countByValue()

 

 Tom选修了几门课?每门课多少分?filter(), map() RDD

 

 Tom的成绩按分数大小排序。filter(), map(), sortBy()

 

posted @ 2021-04-19 13:59  果宝机甲,归位!!!  阅读(57)  评论(0编辑  收藏  举报