摘要:
数据量较少的情况下: scala> numrdd.sortBy(x=>x,false).take(3) res17: Array[Int] = Array(100, 99, 98) scala> numrdd.sortBy(x=>x,true).take(3) res18: Array[Int] = 阅读全文
posted @ 2018-08-31 17:53 打杂滴 阅读(795) 评论(0) 推荐(0)
posted @ 2018-08-31 17:53 打杂滴 阅读(795) 评论(0) 推荐(0)