Commit 9b75a107 authored by 王志伟's avatar 王志伟

新统计需求

parent a483e2b0
......@@ -260,7 +260,7 @@ object diary_exposure {
val final_cid_city = diary_id_temp.join(df_cid_city,Seq("diary_id"),"left_outer").na.drop()
final_cid_city.show()
final_cid_city.groupBy("name").count().orderBy(desc("count"))
final_cid_city.groupBy("name").count().orderBy(desc("count")).show(40)
......
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