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

计算多天的推荐重复问题

parent 8d697a63
......@@ -324,7 +324,8 @@ object Repeated_content_recommendation_moreday {
val count = sc.sql(
s"""
|select count(*) from exp_diary
|select device_id,concat_ws(',',collect_set(expoure_diary)) from exp_diary
|group by device_id
""".stripMargin
)
count.show()
......
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