Commit 38c745a5 authored by 王志伟's avatar 王志伟

计算多天的推荐重复问题

parent 8c85c543
...@@ -317,7 +317,7 @@ object Repeated_content_recommendation_moreday { ...@@ -317,7 +317,7 @@ object Repeated_content_recommendation_moreday {
|where cid_type = 'diary' |where cid_type = 'diary'
|and device_id not in (select device_id from blacklist) |and device_id not in (select device_id from blacklist)
|and stat_date ='${stat_date}' |and stat_date ='${stat_date}'
|group by device_id |group by device_id,stat_date
""".stripMargin """.stripMargin
) )
exp_diary.show() exp_diary.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