Commit 11786449 authored by 王志伟's avatar 王志伟

repair bug

parent 7d376b2c
...@@ -66,11 +66,12 @@ object app_list { ...@@ -66,11 +66,12 @@ object app_list {
""".stripMargin """.stripMargin
) )
app_list.show() app_list.show()
app_list.rdd.map(row=>{ import sc.implicits._
val rdd = app_list.rdd.map(x =>(x(0).toString,x(1).toString))
println(row(1)) .filter(x => x._2.contains("新氧美容")).map(x => x._2).collect().toList
val a = rdd.slice(0,6)
println(a)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment